Details
-
Bug
-
Resolution: Fixed
-
Major
-
7.6.0, 7.6.1
-
Triaged
-
0
-
Unknown
Description
When a disk name has a "/", the disk stat name gets mistakenly parsed to include everything after the first "/". This causes the prometheus scrape to fail.
The expected behaviour would be to report for example the "queue" stat for disk "abc/xyz" as "sys_disk_queue" with label "disk" equal to "abc/xyz".
Instead we see the same reported as "sys_disk_xyz/queue" with label "disk" equal to "abc".
Attachments
For Gerrit Dashboard: MB-61405 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
208099,7 | MB-61405: Report correct stat name for disks like "pxd/etc" | trinity | ns_server | Status: MERGED | +2 | +1 |
208104,2 | MB-61405: Reformatting ns_server_stats.erl and sigar.erl | trinity | ns_server | Status: ABANDONED | -1 | 0 |
208250,2 | Merge remote-tracking branch 'couchbase/trinity' | master | ns_server | Status: MERGED | +2 | +1 |