Merge "Add override timeout for openstack exporter"

This commit is contained in:
Zuul 2020-11-16 13:27:51 +00:00 committed by Gerrit Code Review
commit 4b3ef3f4ca
3 changed files with 6 additions and 0 deletions

View File

@ -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: []

View File

@ -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:

View File

@ -0,0 +1,4 @@
---
features:
- Add new option prometheus_openstack_exporter_timeout to override default
scrape_timeout for openstack exporter job.