From da60a5169394a00ef444b7ac392bd1d6e91fb32e Mon Sep 17 00:00:00 2001 From: Andrey Kartashov Date: Sat, 20 Jun 2020 20:51:33 +0700 Subject: [PATCH] grafana: add prometheus datasource --- apps/system/grafana/templates/datasources.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/apps/system/grafana/templates/datasources.yaml b/apps/system/grafana/templates/datasources.yaml index 460f868..def87e1 100644 --- a/apps/system/grafana/templates/datasources.yaml +++ b/apps/system/grafana/templates/datasources.yaml @@ -13,3 +13,11 @@ data: access: proxy url: http://loki.logging:3100 version: 1 + prometheus-datasource.yaml: |- + apiVersion: 1 + datasources: + - name: Prometheus + type: prometheus + access: proxy + url: http://prometheus-operator-prometheus.monitoring:9090/ + version: 1