diff --git a/CHANGELOG.md b/CHANGELOG.md index 79ad9270a4..ee248324cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ * [ENHANCEMENT] * [BUGFIX] +## 1.8.2 / 2024-06-19 + +* [BUGFIX] Fix CPU pressure metric collection #3054 + ## 1.8.1 / 2024-05-16 * [BUGFIX] Fix CPU seconds on Solaris #2963 diff --git a/VERSION b/VERSION index a8fdfda1c7..53adb84c82 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.8.1 +1.8.2 diff --git a/collector/pressure_linux.go b/collector/pressure_linux.go index 4dbdc5393d..f64d004fa6 100644 --- a/collector/pressure_linux.go +++ b/collector/pressure_linux.go @@ -106,7 +106,7 @@ func (c *pressureStatsCollector) Update(ch chan<- prometheus.Metric) error { level.Debug(c.logger).Log("msg", "pressure information returned no 'some' data") return ErrNoData } - if vals.Full == nil { + if vals.Full == nil && res != "cpu" { level.Debug(c.logger).Log("msg", "pressure information returned no 'full' data") return ErrNoData }