Skip to content

Commit 654f19d

Browse files
authored
meminfo: Fix typo in Zswap metric name (#3455)
Fix typo in Zswap metric name. Signed-off-by: Ben Kochie <[email protected]>
1 parent fc32824 commit 654f19d

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@
55
* [ENHANCEMENT]
66
* [BUGFIX]
77

8+
## 1.10.2 / 2025-10-25
9+
10+
* [BUGFIX] meminfo: Fix typo in Zswap metric name #3455
11+
812
## 1.10.1 / 2025-10-25
913

1014
* [BUGFIX] filesystem: Fix mount points being collected multiple times #3376

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.10.1
1+
1.10.2

collector/meminfo_linux.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ func (c *meminfoCollector) getMemInfo() (map[string]float64, error) {
185185
metrics["WritebackTmp_bytes"] = float64(*meminfo.WritebackTmpBytes)
186186
}
187187
if meminfo.ZswapBytes != nil {
188-
metrics["Zswap_ytes"] = float64(*meminfo.ZswapBytes)
188+
metrics["Zswap_bytes"] = float64(*meminfo.ZswapBytes)
189189
}
190190
if meminfo.ZswappedBytes != nil {
191191
metrics["Zswapped_bytes"] = float64(*meminfo.ZswappedBytes)

0 commit comments

Comments
 (0)