Merge "Adjust Ceph metrics scrape interval in Prometheus"

This commit is contained in:
Zuul 2024-02-27 11:59:32 +00:00 committed by Gerrit Code Review
commit e513ddd982
3 changed files with 7 additions and 0 deletions

View File

@ -1292,6 +1292,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 }}"

View File

@ -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 %}

View File

@ -0,0 +1,5 @@
---
features:
- |
Adds a new variable ``prometheus_ceph_exporter_interval`` for controlling
Ceph's metrics scrape interval.