]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/telemetry: fix daemon anonymization in perf_counters 45819/head
authorYaarit Hatuka <yaarit@redhat.com>
Sat, 9 Apr 2022 01:12:48 +0000 (21:12 -0400)
committerYaarit Hatuka <yaarit@redhat.com>
Sat, 9 Apr 2022 01:44:54 +0000 (21:44 -0400)
commit2f4cc770e7ac9767d6d3be51c1de03f6014a6f98
tree381a0b42ef048fddde29c17caeb184e25c3eec8d
parente89d821ee6256b18f94d520baeb07012de80b731
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>
src/pybind/mgr/telemetry/module.py