Skip to content

Commit

Permalink
Release v1.8.2 (#3055)
Browse files Browse the repository at this point in the history
* fix pressure metric collection fails on systems that do not expose a full CPU stat #3051 (#3054)

Signed-off-by: joey <[email protected]>
Signed-off-by: Ben Kochie <[email protected]>

* Release v1.8.2

* [BUGFIX] Fix CPU pressure metric collection #3054

Signed-off-by: Ben Kochie <[email protected]>

---------

Signed-off-by: joey <[email protected]>
Signed-off-by: Ben Kochie <[email protected]>
Co-authored-by: chengjoey <[email protected]>
  • Loading branch information
SuperQ and chengjoey authored Jul 14, 2024
1 parent 400c397 commit f1e0e83
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8.1
1.8.2
2 changes: 1 addition & 1 deletion collector/pressure_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit f1e0e83

Please sign in to comment.