From 4512270736e4d2ebc8eeff3487236f66d74eea5e Mon Sep 17 00:00:00 2001 From: Konstantin Shalygin Date: Sat, 18 Sep 2021 17:22:14 +0700 Subject: [PATCH] doc/mgr: Document wildcard to expose Prometheus metrics for all RBD pools and namespaces Fixes: https://tracker.ceph.com/issues/47537 Signed-off-by: Konstantin Shalygin --- doc/mgr/prometheus.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/mgr/prometheus.rst b/doc/mgr/prometheus.rst index b24cbb8c7fec1..cb5053451053b 100644 --- a/doc/mgr/prometheus.rst +++ b/doc/mgr/prometheus.rst @@ -169,6 +169,10 @@ Example to activate the RBD-enabled pools ``pool1``, ``pool2`` and ``poolN``:: ceph config set mgr mgr/prometheus/rbd_stats_pools "pool1,pool2,poolN" +The wildcard can be used to indicate all pools or namespaces:: + + ceph config set mgr mgr/prometheus/rbd_stats_pools "*" + The module makes the list of all available images scanning the specified pools and namespaces and refreshes it periodically. The period is configurable via the ``mgr/prometheus/rbd_stats_pools_refresh_interval`` -- 2.39.5