]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: avoid duplicates and deleted entries for rbd_stats_pool 48523/head
authorAvan Thakkar <athakkar@redhat.com>
Fri, 7 Oct 2022 20:10:57 +0000 (01:40 +0530)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Wed, 26 Apr 2023 07:42:13 +0000 (14:42 +0700)
commitbf44128553ca3e890219d94728a54f55a8084075
tree82027716eb2fdf1b9106e958424f1c420e647fd6
parent6e6c123e67b542235092fd2d07f5055ffbcfe80d
mgr/prometheus: avoid duplicates and deleted entries for rbd_stats_pool

Fixes: https://tracker.ceph.com/issues/57797
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Avoid duplicate entries (pool[/namespace]) for rbd_stats_pools config and also avoid deleted pools.

(cherry picked from commit 06077827fe8344ca56d5a397f352bc4171affced)
src/pybind/mgr/prometheus/module.py