feat: Add Grafana dashboards for logging

This commit is contained in:
Stefan Reimer 2021-04-25 22:19:06 +02:00
parent 5af45ade23
commit 8ddf39b383
4 changed files with 36 additions and 2 deletions

View File

@ -0,0 +1,14 @@
configmap: grafana-dashboards
gzip: true
folder: Logging
condition: '.Values.es.prometheus'
dashboards:
- name: fluent-logging
url: https://grafana.com/api/dashboards/7752/revisions/4/download
#url: https://grafana.com/api/dashboards/13042/revisions/2/download
tags:
- Fluent
- name: elasticsearch-logging
url: https://grafana.com/api/dashboards/266/revisions/4/download
tags:
- ECK

File diff suppressed because one or more lines are too long

View File

@ -15,3 +15,6 @@ rm -rf charts/fluentd
curl -L -s -o - https://github.com/fluent/helm-charts/releases/download/fluentd-${FLUENTD_VERSION}/fluentd-${FLUENTD_VERSION}.tgz | tar xfz - -C charts
patch -i fluentd.patch -p0 --no-backup-if-mismatch
# Fetch dashboards from Grafana.com and update ZDT CM
../kubezero-metrics/sync_grafana_dashboards.py dashboards.yaml templates/grafana-dashboards.yaml

View File

@ -205,7 +205,7 @@ fluent-bit:
enabled: false
serviceMonitor:
enabled: true
enabled: false
selector:
release: metrics
@ -216,7 +216,7 @@ fluent-bit:
resources:
requests:
cpu: 20m
memory: 16Mi
memory: 32Mi
limits:
memory: 64Mi