Use grafanalib to generate Grafana dashboards

This commit is contained in:
Arve Knudsen
2017-09-15 08:05:12 +02:00
parent 8bf449907c
commit d04cccc526
25 changed files with 3504 additions and 6831 deletions

View File

@@ -1,10 +1,11 @@
#!/bin/bash
set -e
# Generate Alert Rules ConfigMap
hack/scripts/generate-rules-configmap.sh > manifests/prometheus/prometheus-k8s-rules.yaml
# Generate Dashboard ConfigMap
#hack/scripts/generate-dashboards-configmap.sh > manifests/grafana/grafana-dashboards.yaml
hack/scripts/generate-dashboards-configmap.sh > manifests/grafana/grafana-dashboards.yaml
# Generate Dashboard ConfigMap with configmap-generator tool
# Max Size per ConfigMap: 240000