Skip to content

Commit

Permalink
refactor: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Siumauricio committed Jan 4, 2025
1 parent 3292aa0 commit 3a4bd97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/golang/monitoring/monitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ func GetServerMetrics() database.ServerMetric {
networkOut = float64(netInfo[0].BytesSent) / 1024 / 1024
}
log.Printf("Host Info: %v, Network In: %f MB, Network Out: %f MB", hostInfo, networkIn, networkOut)
log.Printf("CPU Info: %v,", runtime.GOOS)
return database.ServerMetric{
Timestamp: time.Now().Unix(),
CPU: c[0],
Expand Down

0 comments on commit 3a4bd97

Please sign in to comment.