Skip to content
Snippets Groups Projects
Commit a5f3a11a authored by Fabian Reinartz's avatar Fabian Reinartz
Browse files

Document dashboarding

parent 7b92c028
No related branches found
No related tags found
No related merge requests found
...@@ -63,6 +63,21 @@ Teardown: ...@@ -63,6 +63,21 @@ Teardown:
hack/example-service-monitoring/teardown hack/example-service-monitoring/teardown
``` ```
## Dashboarding
The provided manifests deploy a Grafana instance serving dashboards provided via a ConfigMap.
To modify, delete, or add dashboards, the `grafana-dashboards` ConfigMap must be modified.
Currently, Grafana does not support serving dashboards from static files. Instead, the `grafana-watcher`
sidecar container aims to emulate the behavior, by keeping the Grafana database always in sync
with the provided ConfigMap. Hence, the Grafana pod is effectively stateless.
This allows managing dashboards via `git` etc. and easily deploying them via CD pipelines.
In the future, a separate Grafana controller should support gathering dashboards from multiple
ConfigMaps, which are selected by their labels.
Prometheus servers deployed by the Prometheus controller should be automatically added as
Grafana data sources.
## Roadmap ## Roadmap
* Incorporate [Alertmanager controller](https://github.com/coreos/kube-alertmanager-controller) * Incorporate [Alertmanager controller](https://github.com/coreos/kube-alertmanager-controller)
......
...@@ -9,6 +9,6 @@ spec: ...@@ -9,6 +9,6 @@ spec:
selector: selector:
matchLabels: matchLabels:
team: frontend team: frontend
scrapeInterval: 10s
endpoints: endpoints:
- port: web - port: web
interval: 10s
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment