]> 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>
Thu, 7 Apr 2022 22:22:11 +0000 (22:22 +0000)
commit0fe47b974ccc591c6108eb7a1b26087e62932bce
treef7e95d9ec230775a3baf601ca20d49fee908f5ed
parent0b44878cb24290d231e0ab807c8203cec30cf563
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>
src/pybind/mgr/telemetry/module.py