]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/mgr/prometheus: document rbd stats options 25636/head
authorMykola Golub <mgolub@suse.com>
Wed, 19 Dec 2018 17:53:29 +0000 (17:53 +0000)
committerMykola Golub <mgolub@suse.com>
Thu, 20 Dec 2018 08:38:54 +0000 (08:38 +0000)
Signed-off-by: Mykola Golub <mgolub@suse.com>
doc/mgr/prometheus.rst

index 983ea9ae4c555ad86ef0a0eb95375bb36ec0260f..49551f50982832b16b1a2e94b79aeb4ff52ee685 100644 (file)
@@ -29,6 +29,23 @@ configurable with ``ceph config-key set``, with keys
 ``mgr/prometheus/server_addr`` and ``mgr/prometheus/server_port``.
 This port is registered with Prometheus's `registry <https://github.com/prometheus/prometheus/wiki/Default-port-allocations>`_.
 
+RBD IO statistics
+-----------------
+
+The module can optionally collect RBD per-image IO statistics by enabling
+dynamic OSD performance counters. The statistics are gathered for all images
+in the pools that are specified in the ``mgr/prometheus/rbd_stats_pools``
+configuration parameter. The parameter is a comma or space separated list
+of ``pool[/namespace]`` entries. If the namespace is not specified the
+statistics are collected for all namespaces in the pool.
+
+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``
+parameter (in sec) and is 300 sec (5 minutes) by default. The module will
+force refresh earlier if it detects statistics from a previously unknown
+RBD image.
+
 Statistic names and labels
 ==========================