From: Konstantin Shalygin Date: Sat, 18 Sep 2021 10:22:14 +0000 (+0700) Subject: doc/mgr: Document wildcard to expose Prometheus metrics for all RBD pools and namespaces X-Git-Tag: v18.0.0~790^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=4512270736e4d2ebc8eeff3487236f66d74eea5e;p=ceph.git 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 --- 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``