]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: avoid duplicates and deleted entries for rbd_stats_pool 48524/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:29 +0000 (14:42 +0700)
commit0b52868e9a7f011e75089a7b8c892e215c8ca8a7
tree7e5a313df3afb9d4056269c199cb127518a80ea2
parentb6b04403b456eae791f45a7a81c4e4e0aa90bb87
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