]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/prometheus: automatically discover RBD pools for stats gathering 36411/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 16 Jun 2020 14:33:32 +0000 (10:33 -0400)
committerShyukri Shyukriev <shshyukriev@suse.com>
Sun, 2 Aug 2020 15:25:02 +0000 (18:25 +0300)
commit29a104f6db521f2128c9265d1608902f531ddc58
treeca3d91c9450b841e6f4abab8292f61bc1513b686
parent14ef12ec8c02d25901126ad7b6c2ecd4062368d6
mgr/prometheus: automatically discover RBD pools for stats gathering

To simplify configuration, the existing 'rbd_stats_pools' config option
now accepts '*' as a wildcard for the pool and/or namespace portion of
the <pool>[/<namespace>] spec.

Fixes: https://tracker.ceph.com/issues/46034
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 62986a1c3cde4262a76b37529fa865d3c036651d)

Conflicts:
src/pybind/mgr/prometheus/module.py
Do not loose mypy type checks
src/pybind/mgr/prometheus/module.py