Skip to content

Commit 80a4655

Browse files
author
Christian Roessner
committed
Fix: Add osstat library for enhanced CPU statistics
Integrated the `go-osstat` library to provide more detailed CPU metrics. This will allow for better monitoring and performance analysis on Linux systems. Signed-off-by: Christian Roessner <[email protected]>
1 parent 26ec71f commit 80a4655

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/stats/cpu_linux.go

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
package stats
1919

2020
import (
21+
"github.com/mackerelio/go-osstat/cpu"
2122
"github.com/prometheus/client_golang/prometheus"
2223
"github.com/prometheus/client_golang/prometheus/promauto"
2324
)

0 commit comments

Comments
 (0)