]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: only turn - into _minus at end 17318/head
authorJohn Spray <john.spray@redhat.com>
Mon, 28 Aug 2017 18:55:06 +0000 (19:55 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 28 Aug 2017 18:58:55 +0000 (19:58 +0100)
commit29ac9270d43a225bb2336adaaf813c12e12a715a
tree006a6202ca3f426d7f7ec94223535fa21cd32cb7
parentd719cd04b294e90ab9d440ba7d033826c069a2de
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>
src/pybind/mgr/prometheus/module.py