]> git-server-git.apps.pok.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)
committerBoris Ranto <branto@redhat.com>
Fri, 1 Jun 2018 12:26:25 +0000 (14:26 +0200)
commitfe476441c659aeac526376f60a27fcf56e973760
tree90ff5d4503214ad73c8bd69f9d288781c940625b
parent9fa1177c19836f0ed0acbce87e09e39c851d1427
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>
(cherry picked from commit b2a1a21602b228cf90137c3effd74916e6b847b5)
src/pybind/mgr/prometheus/module.py