Add override timeout for openstack exporter
Add scrape_timeout option in prometheus_openstack_exporter job in order to avoid timeout for large Openstack environment. Change-Id: If96034e602bee3b3eea34a2656047355e1d17eec Closes-Bug: #1903547
This commit is contained in:
parent
7f980b4907
commit
99680b56ef
@ -1092,6 +1092,7 @@ enable_prometheus_blackbox_exporter: "{{ enable_prometheus | bool }}"
|
||||
|
||||
prometheus_alertmanager_user: "admin"
|
||||
prometheus_openstack_exporter_interval: "60s"
|
||||
prometheus_openstack_exporter_timeout: "10s"
|
||||
prometheus_elasticsearch_exporter_interval: "60s"
|
||||
prometheus_cmdline_extras:
|
||||
prometheus_ceph_mgr_exporter_endpoints: []
|
||||
|
@ -78,6 +78,7 @@ scrape_configs:
|
||||
{% if enable_prometheus_openstack_exporter | bool %}
|
||||
- job_name: openstack_exporter
|
||||
scrape_interval: {{ prometheus_openstack_exporter_interval }}
|
||||
scrape_timeout: {{ prometheus_openstack_exporter_timeout }}
|
||||
honor_labels: true
|
||||
static_configs:
|
||||
- targets:
|
||||
|
@ -0,0 +1,4 @@
|
||||
---
|
||||
features:
|
||||
- Add new option prometheus_openstack_exporter_timeout to override default
|
||||
scrape_timeout for openstack exporter job.
|
Loading…
Reference in New Issue
Block a user