diff --git a/CHANGELOG.md b/CHANGELOG.md index 79ad9270..ee248324 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 a8fdfda1..53adb84c 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 4dbdc539..f64d004f 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 }