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: v16.1.0~2440^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6d5f88450e61122016fcf7b6cf9431dc67128d3d;p=ceph.git mgr/prometheus: Add config value to honor ceph config in prometheus Signed-off-by: Enno Gotthold Author: Ernesto Puerta --- diff --git a/src/pybind/mgr/prometheus/module.py b/src/pybind/mgr/prometheus/module.py index 2f591b20b812..80b752ff2902 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):