Skip to content

Commit d770751

Browse files
authored
Merge pull request ceph#43217 from k0ste/fix_52656
mgr: prometheus: use nsec unit in desc for RBD _read_latency and _write_latency metrics Reviewed-by: Kefu Chai <[email protected]>
2 parents ff570c6 + fb58835 commit d770751

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pybind/mgr/prometheus/module.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,9 +637,9 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
637637
'read_bytes': {'type': self.PERFCOUNTER_COUNTER,
638638
'desc': 'RBD image bytes read'},
639639
'write_latency': {'type': self.PERFCOUNTER_LONGRUNAVG,
640-
'desc': 'RBD image writes latency (msec)'},
640+
'desc': 'RBD image writes latency (nsec)'},
641641
'read_latency': {'type': self.PERFCOUNTER_LONGRUNAVG,
642-
'desc': 'RBD image reads latency (msec)'},
642+
'desc': 'RBD image reads latency (nsec)'},
643643
},
644644
} # type: Dict[str, Any]
645645
global _global_instance

0 commit comments

Comments
 (0)