Merge "prometheus: Fix etcd scrape when etcd uses TLS"
This commit is contained in:
commit
255ce5c11e
@ -203,6 +203,9 @@ scrape_configs:
|
||||
|
||||
{% if enable_prometheus_etcd_integration | bool %}
|
||||
- job_name: etcd
|
||||
{% if etcd_enable_tls | bool %}
|
||||
scheme: https
|
||||
{% endif %}
|
||||
static_configs:
|
||||
{% for host in groups["etcd"] %}
|
||||
- targets:
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes an issue where Prometheus scraping of Etcd metrics would fail if Etcd
|
||||
TLS is enabled. `LP#2036950
|
||||
<https://bugs.launchpad.net/kolla-ansible/+bug/2036950>`__
|
Loading…
Reference in New Issue
Block a user