meminfo: Fix typo in Zswap metric name (#3455)

Fix typo in Zswap metric name.

Signed-off-by: Ben Kochie <superq@gmail.com>
release-1.10 v1.10.2
Ben Kochie 2 months ago committed by GitHub
parent fc328244fe
commit 654f19dee6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      CHANGELOG.md
  2. 2
      VERSION
  3. 2
      collector/meminfo_linux.go

@ -5,6 +5,10 @@
* [ENHANCEMENT]
* [BUGFIX]
## 1.10.2 / 2025-10-25
* [BUGFIX] meminfo: Fix typo in Zswap metric name #3455
## 1.10.1 / 2025-10-25
* [BUGFIX] filesystem: Fix mount points being collected multiple times #3376

@ -1 +1 @@
1.10.1
1.10.2

@ -185,7 +185,7 @@ func (c *meminfoCollector) getMemInfo() (map[string]float64, error) {
metrics["WritebackTmp_bytes"] = float64(*meminfo.WritebackTmpBytes)
}
if meminfo.ZswapBytes != nil {
metrics["Zswap_ytes"] = float64(*meminfo.ZswapBytes)
metrics["Zswap_bytes"] = float64(*meminfo.ZswapBytes)
}
if meminfo.ZswappedBytes != nil {
metrics["Zswapped_bytes"] = float64(*meminfo.ZswappedBytes)

Loading…
Cancel
Save