Increase openstack-exporter timeout to 45 seconds
Even on moderately sized clouds, openstack-exporter can easily take more
than 10 seconds to return, causing Prometheus to fail to scrape data.
Since the default scrape internal is 60 seconds, we can increase the
default timeout to 45 seconds.
Change-Id: Id8dffc425ff057b1e45103eb53734543bca8be80
Closes-Bug: #1976629
(cherry picked from commit 9653ebe102)
This commit is contained in:
@@ -1123,7 +1123,7 @@ enable_prometheus_rabbitmq_exporter: "{{ enable_prometheus | bool and enable_rab
|
||||
|
||||
prometheus_alertmanager_user: "admin"
|
||||
prometheus_openstack_exporter_interval: "60s"
|
||||
prometheus_openstack_exporter_timeout: "10s"
|
||||
prometheus_openstack_exporter_timeout: "45s"
|
||||
prometheus_elasticsearch_exporter_interval: "60s"
|
||||
prometheus_cmdline_extras:
|
||||
prometheus_ceph_mgr_exporter_endpoints: []
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Increases ``prometheus_openstack_exporter_timeout`` to 45 seconds to reduce
|
||||
the odds of scrape failures on deployments with large number of OpenStack
|
||||
resources.
|
||||
`LP#1976629 <https://bugs.launchpad.net/kolla-ansible/+bug/1976629>`__
|
||||
Reference in New Issue
Block a user