From: Enno Gotthold Date: Wed, 18 Mar 2020 11:50:06 +0000 (+0100) Subject: mgr/prometheus: Add config value to honor ceph config in prometheus X-Git-Tag: v15.2.4~66^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=03fb8309e4623fd5fe4fc846807817c5860c2126;p=ceph.git mgr/prometheus: Add config value to honor ceph config in prometheus Signed-off-by: Enno Gotthold Author: Ernesto Puerta (cherry picked from commit 6d5f88450e61122016fcf7b6cf9431dc67128d3d) --- diff --git a/src/pybind/mgr/prometheus/module.py b/src/pybind/mgr/prometheus/module.py index fa6073bd3cbd..2cb7849577f8 100644 --- a/src/pybind/mgr/prometheus/module.py +++ b/src/pybind/mgr/prometheus/module.py @@ -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):