oneuptime/InfrastructureAgent/model/cpu_metrics.go
Simon Larsen 9791aa1259
chore: Add CPU core count to CPUMetrics
This commit adds the `cores` field to the `CPUMetrics` struct in order to include the number of CPU cores in the collected metrics. This information is useful for understanding the processing power of the server.
2024-07-02 13:54:04 +01:00

7 lines
120 B
Go

package model
type CPUMetrics struct {
PercentUsed float64 `json:"percentUsed"`
Cores int `json:"cores"`
}