mirror of
https://github.com/ceph/ceph
synced 2024-12-21 10:54:42 +00:00
mgr: add doc to describe relationship to prometheus
The healthcheck for slow_ops is used by the mgr/prometheus module so it's important the alert generated matches the format expected in mgr/prometheus. Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
This commit is contained in:
parent
2010432b50
commit
fc1905b4a7
@ -30,6 +30,8 @@ class SlowOps final : public DaemonHealthMetricCollector {
|
||||
if (daemons.empty()) {
|
||||
return;
|
||||
}
|
||||
// Note this message format is used in mgr/prometheus, so any change in format
|
||||
// requires a corresponding change in the mgr/prometheus module.
|
||||
ostringstream ss;
|
||||
if (daemons.size() > 1) {
|
||||
if (daemons.size() > 10) {
|
||||
|
Loading…
Reference in New Issue
Block a user