Release v1.8.2 (#3055)
* fix pressure metric collection fails on systems that do not expose a full CPU stat #3051 (#3054) Signed-off-by: joey <zchengjoey@gmail.com> Signed-off-by: Ben Kochie <superq@gmail.com> * Release v1.8.2 * [BUGFIX] Fix CPU pressure metric collection #3054 Signed-off-by: Ben Kochie <superq@gmail.com> --------- Signed-off-by: joey <zchengjoey@gmail.com> Signed-off-by: Ben Kochie <superq@gmail.com> Co-authored-by: chengjoey <30427474+chengjoey@users.noreply.github.com>
This commit is contained in:
parent
400c397993
commit
f1e0e8360a
|
@ -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
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue