]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: tag stats by daemon name
authorJohn Spray <john.spray@redhat.com>
Mon, 4 Sep 2017 09:39:11 +0000 (05:39 -0400)
committerJohn Spray <john.spray@redhat.com>
Wed, 1 Nov 2017 23:03:24 +0000 (23:03 +0000)
commit3bd478794e2626251eda91850974188da208b591
tree22d4aeb7f9cba6f8b3d2407aceac1ef5191c0f86
parentaf92c011b20eaef073730be2f8d7112a0f7e99f8
mgr/prometheus: tag stats by daemon name

Using osd=0 or similar tags was problematic because
daemons of different types have some same-named
counters (e.g. MDS and OSD both have objecter
perf counters).

Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit eb524c272c89f8f99f22969b78caa016db7c671e)
src/pybind/mgr/prometheus/module.py