]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/influx: revise perf counter handling
authorJohn Spray <john.spray@redhat.com>
Tue, 12 Sep 2017 10:18:15 +0000 (06:18 -0400)
committerJohn Spray <john.spray@redhat.com>
Wed, 1 Nov 2017 23:03:25 +0000 (23:03 +0000)
commit9abd779d3321d1cda9c8677600e1e35af46109e7
tree2e508bbe0dd24f0bf44037e4fc9904e96ae92370
parent32f5f0fe515e6890e8aefad6ad8cdc2574ae8a34
mgr/influx: revise perf counter handling

- Use new get_all_perf_counters path
- Consequently get counters for all daemons, not just OSD
- Tag stats with ceph_daemon rather than osd_id, as some
  stats appear from more than one daemon type
- Remove summing of perf counters, external TSDB and/or queries
  can do this.
- Remove mgr_id tag: this would change depending on which
  mgr was active, which is certainly not desirable.

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