mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
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"`
|
|
}
|