diff --git a/grafana.yaml b/grafana.yaml index 09426b8..f8e45c1 100644 --- a/grafana.yaml +++ b/grafana.yaml @@ -125,3 +125,32 @@ spec: - profile - offline_access pkce: false +--- +apiVersion: v1 +kind: ConfigMap +metadata: + name: grafana-config-datasources + namespace: tools +data: + prometheus.yaml: | + apiVersion: 1 + prune: true + datasources: + - name: Prometheus + type: prometheus + orgId: 1 + url: http://prometheus-operated.monitoring.svc.cluster.local:9090 + version: 1 + editable: false + - name: Thanos + type: prometheus + orgId: 1 + url: http://thanos-query.monitoring.svc.cluster.local:10902 + version: 1 + editable: false + - name: Loki + type: loki + orgId: 1 + url: http://loki.monitoring.svc.cluster.local:3100 + version: 1 + editable: false