Skip to content

Commit a1e60f7

Browse files
committed
fix(grafana): correct Prometheus datasource URL
Use prometheus-prometheus service instead of headless prometheus-operated service for proper DNS resolution in Grafana datasource.
1 parent 5af8759 commit a1e60f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ops/Helm/addons/observability/prometheus-operator/templates/grafana/datasources/prometheus-datasource.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ stringData:
1111
- name: Prometheus
1212
uid: prometheus
1313
type: prometheus
14-
url: http://prometheus-operated.prometheus-operator:9090/prometheus
14+
url: http://prometheus-prometheus.prometheus-operator.svc:9090
1515
access: proxy
1616
isDefault: true
1717
jsonData:

0 commit comments

Comments
 (0)