]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: only turn - into _minus at end 17868/head
authorJohn Spray <john.spray@redhat.com>
Mon, 28 Aug 2017 18:55:06 +0000 (19:55 +0100)
committerNathan Cutler <ncutler@suse.com>
Thu, 21 Sep 2017 04:12:57 +0000 (06:12 +0200)
commitddca5dbe04a2647218fabff6098691edd6b7a157
tree9a8d05e8b057272ff00b9f6840eea17d3c1ef378
parent8375251d150397c0097718f6e93ed38e9e89cfbb
mgr/prometheus: only turn - into _minus at end

...of perf counter name.

So that mds_mem_dir- becomes mds_mem_dir_minus, but
throttle-filestore_bytes becomes throttle_filestore_bytes.

At some point once this is all settled we should
probably just change Ceph's internal perf counter
naming to satisfy the major TSDB naming rules.

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