]> git.apps.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, 1 Nov 2017 23:03:23 +0000 (23:03 +0000)
commit5f0ef3a73a55a3f24997e415a848308afa0263ba
tree57ae9847d9fa0cde58370e41bca0f3d68fbde43d
parenta303218c85498ccf472d2f1b35fd391376fb0faf
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>
(cherry picked from commit 177afcc7886aa3898d092ebd1e101697bc6539fd)
src/pybind/mgr/prometheus/module.py