Adjust Ceph metrics scrape interval in Prometheus
Enables modifying the interval and sets the recommended default value. [1] https://docs.ceph.com/en/latest/mgr/prometheus/#configuration Change-Id: I4b91d184485aa52b3c06011f9dbb6b34bcad3ca8
This commit is contained in:
parent
77c18fa615
commit
03a1b9925d
@ -1288,6 +1288,7 @@ enable_prometheus_etcd_integration: "{{ enable_prometheus | bool and enable_etcd
|
||||
enable_prometheus_msteams: "no"
|
||||
|
||||
prometheus_alertmanager_user: "admin"
|
||||
prometheus_ceph_exporter_interval: "{{ prometheus_scrape_interval }}"
|
||||
prometheus_grafana_user: "grafana"
|
||||
prometheus_scrape_interval: "60s"
|
||||
prometheus_openstack_exporter_interval: "{{ prometheus_scrape_interval }}"
|
||||
|
@ -125,6 +125,7 @@ scrape_configs:
|
||||
{% if enable_prometheus_ceph_mgr_exporter | bool %}
|
||||
- job_name: ceph_mgr_exporter
|
||||
honor_labels: true
|
||||
scrape_interval: {{ prometheus_ceph_exporter_interval }}
|
||||
static_configs:
|
||||
- targets:
|
||||
{% for exporter in prometheus_ceph_mgr_exporter_endpoints %}
|
||||
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Adds a new variable ``prometheus_ceph_exporter_interval`` for controlling
|
||||
Ceph's metrics scrape interval.
|
Loading…
Reference in New Issue
Block a user