]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/telemetry: fix daemon anonymization in perf_counters 45857/head
authorYaarit Hatuka <yaarit@redhat.com>
Sat, 9 Apr 2022 01:12:48 +0000 (21:12 -0400)
committerLaura Flores <lflores@redhat.com>
Mon, 11 Apr 2022 17:07:00 +0000 (17:07 +0000)
commitc1736e602847c2dc621484689c2bb88548b33ec1
treed79c194b944ff3bf42e277f5b15f292f62614fbe
parent3d44f2d5c890596fcf1bbcae9179fd7527f12a08
mgr/telemetry: fix daemon anonymization in perf_counters

Anonymized daemons now appear with a SHA1 digest instead of their
original identifier, e.g.:

    "perf_counters": {
        "mon.1b1b829ba9298527f4934053a4742a1710937007": {
            "mon": {
                "election_call": {
                    "value": 1
                },
                ...
                "session_trim": {
                    "value": 0
                }
            },
        ...
        }
    ...
    }

Signed-off-by: Yaarit Hatuka <yaarit@redhat.com>
(cherry picked from commit 2f4cc770e7ac9767d6d3be51c1de03f6014a6f98)
src/pybind/mgr/telemetry/module.py