]> 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)
committerEnno Gotthold <egotthold@suse.de>
Thu, 26 Mar 2020 07:21:30 +0000 (08:21 +0100)
Signed-off-by: Enno Gotthold <egotthold@suse.de>
Author: Ernesto Puerta <epuertat@redhat.com>

src/pybind/mgr/prometheus/module.py

index 2f591b20b81233230670eee8b6f51b1479ce8782..80b752ff2902294462cbe0d1518be42e438faa44 100644 (file)
@@ -191,7 +191,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):