prometheus-community / smartctl_exporter

Export smartctl statistics to prometheus
Apache License 2.0
293 stars 88 forks source link

chore: use Linux container CPU quota #202

Closed uhthomas closed 5 months ago

uhthomas commented 7 months ago

Go is not cgroup aware and by default will set GOMAXPROCS to the number of available threads, regardless of whether it is within the allocated quota. This behaviour causes high amount of CPU throttling and degraded application performance.

Fixes: #201