]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
pybind/mgr/prometheus: prefix metrics with 'ceph'; replace :: with _
authorJan Fajerski <jfajerski@suse.com>
Fri, 4 Aug 2017 08:23:11 +0000 (10:23 +0200)
committerJohn Spray <john.spray@redhat.com>
Wed, 27 Sep 2017 18:17:59 +0000 (14:17 -0400)
commit177afcc7886aa3898d092ebd1e101697bc6539fd
tree4e9d9bbf1ab02cfe061a292219b9467d24f5ab3e
parente345fe3c5780976a4e33488b3a75cd24bb2c96c5
pybind/mgr/prometheus: prefix metrics with 'ceph'; replace :: with _

Both follow prometheus best practices. While : is a legal metric
character, "Exposed metrics should not contain colons, these are for
users to use when aggregating."

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