Skip to content
Snippets Groups Projects
Commit 05df4e72 authored by Mark Goddard's avatar Mark Goddard
Browse files

prometheus: Fix etcd scrape when etcd uses TLS

Use HTTPS to scrape etcd metrics when etcd TLS is enabled.

Change-Id: Iaff10d5314a8dc5b07137d93c269f1ac24cf63de
Closes-Bug: #2036950
parent ecbf9da1
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
---
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>`__
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment