Skip to content

Commit 2231766

Browse files
MoteHueAlex-Welsh
authored andcommitted
Fix Grafana external endpoint blackbox config
1 parent c25ae90 commit 2231766

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

etc/kayobe/kolla/inventory/group_vars/prometheus-blackbox-exporter

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ prometheus_blackbox_exporter_endpoints_default:
111111
enabled: "{{ enable_etcd | bool }}"
112112
- endpoints:
113113
- "grafana:http_2xx:{{ grafana_public_endpoint }}"
114+
enabled: "{{ enable_grafana_external | bool }}"
115+
- endpoints:
114116
- "{{ ('grafana_internal:http_2xx:' + grafana_internal_endpoint) if not kolla_same_external_internal_vip | bool }}"
115117
enabled: "{{ enable_grafana | bool }}"
116118
- endpoints:
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes an issue where the external Grafana endpoint would be added to
5+
Prometheus Blackbox Exporter config, even when ``enable_grafana_external``
6+
was disabled.

0 commit comments

Comments
 (0)