Skip to content

Commit

Permalink
update server-statefulset.yaml to exclude prometheus.io/ annotations …
Browse files Browse the repository at this point in the history
…if/when enabling datadog openmetrics method for consul server metrics scrape. conflict present with http vs https that breaks openemtrics scrape on consul
  • Loading branch information
natemollica-nm committed Feb 9, 2024
1 parent 2d3f39b commit 5559f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/consul/templates/server-statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ spec:
{{- if not .Values.global.metrics.datadog.openMetricsPrometheus.enabled }}
"prometheus.io/scrape": "true"
"prometheus.io/path": "/v1/agent/metrics"
{{- if and .Values.global.tls.enabled }}
{{- if .Values.global.tls.enabled }}
"prometheus.io/port": "8501"
"prometheus.io/scheme": "https"
{{- else }}
Expand Down

0 comments on commit 5559f02

Please sign in to comment.