Set HAProxy server timeout for openstack exporter
Set the openstack exporter HAProxy backend server timeout to ``prometheus_openstack_exporter_timeout`` to ensure that scrapes that take longer than haproxy_server_timeout don't timeout. Closes-Bug: #2006051 Change-Id: I44841a6b6fa5bf659cace06295d18c093ad7f927
This commit is contained in:
parent
48db509042
commit
8000550e02
@ -97,11 +97,15 @@ prometheus_services:
|
|||||||
mode: "http"
|
mode: "http"
|
||||||
external: false
|
external: false
|
||||||
port: "{{ prometheus_openstack_exporter_port }}"
|
port: "{{ prometheus_openstack_exporter_port }}"
|
||||||
|
backend_http_extra:
|
||||||
|
- "timeout server {{ prometheus_openstack_exporter_timeout }}"
|
||||||
prometheus_openstack_exporter_external:
|
prometheus_openstack_exporter_external:
|
||||||
enabled: "{{ enable_prometheus_openstack_exporter_external | bool }}"
|
enabled: "{{ enable_prometheus_openstack_exporter_external | bool }}"
|
||||||
mode: "http"
|
mode: "http"
|
||||||
external: true
|
external: true
|
||||||
port: "{{ prometheus_openstack_exporter_port }}"
|
port: "{{ prometheus_openstack_exporter_port }}"
|
||||||
|
backend_http_extra:
|
||||||
|
- "timeout server {{ prometheus_openstack_exporter_timeout }}"
|
||||||
prometheus-elasticsearch-exporter:
|
prometheus-elasticsearch-exporter:
|
||||||
container_name: prometheus_elasticsearch_exporter
|
container_name: prometheus_elasticsearch_exporter
|
||||||
group: prometheus-elasticsearch-exporter
|
group: prometheus-elasticsearch-exporter
|
||||||
|
7
releasenotes/notes/bug-2006051-135bd20d5c465517.yaml
Normal file
7
releasenotes/notes/bug-2006051-135bd20d5c465517.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes 504 timeout when scraping openstack exporter.
|
||||||
|
Ensures that HAProxy server timeout is the same as the
|
||||||
|
scrape timeout for the openstack exporter backend.
|
||||||
|
`LP#2006051 <https://launchpad.net/bugs/2006051>`__
|
Loading…
Reference in New Issue
Block a user