]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/prometheus: Add config value to honor ceph config in prometheus
authorEnno Gotthold <egotthold@suse.de>
Wed, 18 Mar 2020 11:50:06 +0000 (12:50 +0100)
committerErnesto Puerta <epuertat@redhat.com>
Thu, 28 May 2020 11:39:00 +0000 (13:39 +0200)
Signed-off-by: Enno Gotthold <egotthold@suse.de>
Author: Ernesto Puerta <epuertat@redhat.com>
(cherry picked from commit 6d5f88450e61122016fcf7b6cf9431dc67128d3d)

src/pybind/mgr/prometheus/module.py

index 48e15481708c9011d7eeadad3016a6421d46338b..3a11a362c9abeb1a3a374e669d898d47422dd7d8 100644 (file)
@@ -190,7 +190,7 @@ class Module(MgrModule):
         {'name': 'server_port'},
         {'name': 'scrape_interval'},
         {'name': 'rbd_stats_pools'},
-        {'name': 'rbd_stats_pools_refresh_interval'},
+        {'name': 'rbd_stats_pools_refresh_interval', 'type': 'int', 'default': 300},
     ]
 
     def __init__(self, *args, **kwargs):