mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
9791aa1259
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.
7 lines
120 B
Go
7 lines
120 B
Go
package model
|
|
|
|
type CPUMetrics struct {
|
|
PercentUsed float64 `json:"percentUsed"`
|
|
Cores int `json:"cores"`
|
|
}
|