diff --git a/main.go b/main.go index b8dcae9..ccbcfe7 100644 --- a/main.go +++ b/main.go @@ -24,7 +24,7 @@ import ( const ( checkInterval = 10 * time.Second - monitoringPeriod = 30 * time.Second + monitoringPeriod = 3 * time.Minute cpuThreshold = 20.0 // percentage gpuThreshold = 20.0 // percentage diskThreshold = 5 * 1024 * 1024 // 5 MB/s @@ -41,7 +41,7 @@ type ResourceUsage struct { NetworkIO float64 `json:"network_io"` SshConnections int `json:"ssh_connections"` ActiveUsers int `json:"active_users"` - HttpRequests int `json:"http_requests"` + HttpRequests int `json:"http_requests"` } type StatusResponse struct {