Skip to content

Commit ce0ba25

Browse files
committed
monitoring: point grafana at loki
1 parent 5254286 commit ce0ba25

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
apiVersion: 1
2+
datasources:
3+
- name: Loki
4+
type: loki
5+
access: proxy
6+
url: http://loki.monitoring.svc:3100
7+
version: 1

monitoring/kustomization.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ configMapGenerator:
4343
files:
4444
# https://github.com/kubernetes/ingress-nginx/blob/810acfafbef86d9dc05e0ece68c97d0c93344632/deploy/grafana/dashboards/nginx.json
4545
- files/grafana-dashboard-ingress-nginx.json
46+
secretGenerator:
47+
- name: grafana-datasources
48+
namespace: monitoring
49+
behavior: merge
50+
options:
51+
disableNameSuffixHash: true
52+
files:
53+
- files/datasource-loki.yaml
4654
generators:
4755
- secret-generator.yaml
4856
images:

0 commit comments

Comments
 (0)