]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr: add doc to describe relationship to prometheus 39747/head
authorPaul Cuzner <pcuzner@redhat.com>
Thu, 8 Oct 2020 03:35:45 +0000 (16:35 +1300)
committerPaul Cuzner <pcuzner@redhat.com>
Mon, 1 Mar 2021 01:09:52 +0000 (14:09 +1300)
commit280ec15b792f78aa5bc410bb4ff49af7a74f397e
tree3392e3774b070194e6a30e171f68f83d32705f68
parentcb0d3154a676edb955467dea42eb931743dd67a1
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>
(cherry picked from commit fc1905b4a74aedc6bdbc928b6d6e514183bbf090)

Conflicts:
src/mgr/DaemonHealthMetricCollector.cc

- docstring added to describe the link to mgr/prometheus conflicted with the
  const fmt definition for the message. resolved by adding doc under the const
  definition.
src/mgr/DaemonHealthMetricCollector.cc