]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/telemetry: anonymize daemons in telemetry perf_counters
authorLaura Flores <lflores@redhat.com>
Thu, 7 Apr 2022 22:20:14 +0000 (22:20 +0000)
committerLaura Flores <lflores@redhat.com>
Mon, 11 Apr 2022 17:06:39 +0000 (17:06 +0000)
commit0f4e546dd61c76230ca856c5813427b5004fcc1b
treedd135a8593f7920ddc6f3d0e42d3eb8306ca682c
parentebb08a260d19144347536228d1198ffad0537dd1
mgr/telemetry: anonymize daemons in telemetry perf_counters

In the telemetry perf channel we collect 'perf_counters' of individual daemons.
The monitors appear with their full name, which includes the host name.
The host name part must be anonymized.

To err on the safe side, I have anonymized all daemons except for osds,
since they are not attached to host names.

Fixes: https://tracker.ceph.com/issues/55229
Signed-off-by: Laura Flores <lflores@redhat.com>
(cherry picked from commit 0fe47b974ccc591c6108eb7a1b26087e62932bce)
src/pybind/mgr/telemetry/module.py