Merge "prometheus: Fix etcd scrape when etcd uses TLS"

This commit is contained in:
Zuul 2023-11-02 09:19:57 +00:00 committed by Gerrit Code Review
commit 255ce5c11e
2 changed files with 9 additions and 0 deletions

View File

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

View File

@ -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>`__