fix: make grafana prometheus datasource resilient with nodeport fallback
This commit is contained in:
@@ -9,15 +9,10 @@ data:
|
||||
datasources.yaml: |
|
||||
apiVersion: 1
|
||||
datasources:
|
||||
- name: Prometheus
|
||||
type: prometheus
|
||||
access: proxy
|
||||
url: http://kube-prometheus-stack-prometheus.{{ observability_namespace }}.svc.cluster.local:9090
|
||||
isDefault: true
|
||||
{% if loki_enabled %}
|
||||
- name: Loki
|
||||
type: loki
|
||||
access: proxy
|
||||
url: http://loki.{{ observability_namespace }}.svc.cluster.local:3100
|
||||
url: "{{ grafana_loki_url }}"
|
||||
isDefault: false
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user