]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/prometheus: unify label names, move away from "id"
authorJan Fajerski <jfajerski@suse.com>
Fri, 20 Apr 2018 08:21:42 +0000 (10:21 +0200)
committerJan Fajerski <jfajerski@suse.com>
Fri, 20 Apr 2018 08:28:03 +0000 (10:28 +0200)
commitb2a1a21602b228cf90137c3effd74916e6b847b5
treecd30c60d9d721d3aca8f86669be5e635ed97f4e3
parent8b3b7dbefa577bb3f4cf68e0476397cc7588c9f1
pybind/mgr/prometheus: unify label names, move away from "id"

This commit makes label names that are supposed to be used for matching
consistent. Prometheus can not match on say osd_metadata{id=1} and
osd_up{ceph_daemon=osd.1}. We want to use the label ceph_daemon=osd.1 on
all metrics.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
src/pybind/mgr/prometheus/module.py