mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
This commit adds the hostname field to the server monitor report in order to include the hostname of the server in the collected metrics. This information is useful for identifying and distinguishing between different servers in the monitoring system.
11 lines
542 B
Go
11 lines
542 B
Go
package model
|
|
|
|
type ServerMonitorReport struct {
|
|
SecretKey string `json:"secretKey"`
|
|
BasicInfrastructureMetrics *BasicInfrastructureMetrics `json:"basicInfrastructureMetrics"`
|
|
RequestReceivedAt string `json:"requestReceivedAt"`
|
|
OnlyCheckRequestReceivedAt bool `json:"onlyCheckRequestReceivedAt"`
|
|
Processes []*ServerProcess `json:"processes"`
|
|
Hostname string `json:"hostname"`
|
|
}
|