Operating Grafana Dashboards: Signal Correlation and GitOps Boundaries
Grafana datasource configuration
Section titled âGrafana datasource configurationâThe following datasources are registered in Grafana.
- Loki
- Mimir (registered as a Prometheus-compatible datasource)
- Tempo
- Pyroscope, exists only as a configured extension, not a core focus of this part.
- Azure Monitor, for querying PaaS metrics (LB, managed DB, etc.)
# datasource provisioning (generalized)apiVersion: 1datasources: - name: Tempo type: tempo url: http://tempo-gateway.tempo.svc.cluster.local jsonData: tracesToLogsV2: datasourceUid: loki tracesToMetrics: datasourceUid: mimir serviceMap: datasourceUid: mimir nodeGraph: enabled: true tracesToProfiles: datasourceUid: pyroscopeSignal correlation
Section titled âSignal correlationâThe Tempo datasource has the following correlations configured.
- Traces to logs: looks up related logs in Loki by trace ID.
- Traces to metrics: looks up related metrics in Mimir within the traceâs time window.
- Traces to profiles: linked to the Pyroscope datasource, but only mentioned here as a future extension in this series.
- Service map: visualizes the metrics generated by Tempoâs Metrics Generator (
service_graphs), covered in part 4. - Node graph: renders the span relationships inside a trace as a graph.
Thanks to this correlation, you can jump from a trace being viewed to related logs and metrics with a single click.
Actual dashboard inventory
Section titled âActual dashboard inventoryâThe repository holds 19 dashboard JSON files in total, made up of roughly 766 panels. The categories are:
| Category | Example | Datasource | Panel purpose |
|---|---|---|---|
| Application | Spring Boot service traffic | Mimir, Tempo | RED metrics, per-service latency |
| Azure managed services | LB, Postgresql, Redis | Azure Monitor | PaaS resource status |
| LGTM self-monitoring | Loki/Mimir/Tempoâs own metrics | Mimir | Observability stack health |
| Kubernetes Node/State | Node resources, kube-state-metrics | Mimir | Cluster/node status |
| OpenTelemetry Collector | Collectorâs own throughput/errors | Mimir | Pipeline processing status |
| k6 test result | Load test results | Mimir | Performance regression checks |
Panel types are a mix of timeseries, stat, table, log, and nodeGraph, mostly layered in the order overview â service â infrastructure â backend self-monitoring â test.
How dashboards are split
Section titled âHow dashboards are splitâ- overview/service/infrastructure/backend/test: dashboards are organized into folders by purpose-based layer.
- RED/USE methodology: application dashboards follow RED (Rate/Error/Duration); infrastructure dashboards follow USE (Utilization/Saturation/Errors).
- Variables and datasource abstraction: namespace and service names are extracted as dashboard variables so a single dashboard JSON is reusable across multiple services.
The GitOps boundary: a fact that must be stated clearly
Section titled âThe GitOps boundary: a fact that must be stated clearlyâThis is the most important fact in this post. The 19 dashboard JSON files are stored in the repository, but they are not currently wired to Kustomize/Helm values or a ConfigMap.
dashboardProvidersanddashboardsConfigMapssettings are disabled.- No Grafana dashboard sidecar is deployed.
- In other words, applying a dashboard JSON to the actual Grafana UI currently requires a manual import.
So the accurate description of this state is âa dashboard export/backup library,â not âGitOps-based automatic provisioning.â A file existing in the repository doesnât mean itâs automatically deployed.
| Item | Current implementation | Not yet implemented | Production extension |
|---|---|---|---|
| Dashboard storage | JSON files kept in repository | ConfigMap/sidecar wiring | ConfigMap generator + folder/provider mapping |
| Datasource correlation | Active (logs/metrics/profiles/service map/node graph) | - | Stabilize datasource UIDs |
| Alerting | None | Grafana alert rules/contact points, Mimir Ruler/Alertmanager, Loki Ruler | rule-as-code extension |
How GitOps provisioning would be completed
Section titled âHow GitOps provisioning would be completedâ- Adopt either a ConfigMap generator (Kustomize
configMapGenerator) or the Grafana dashboard sidecar pattern. - Define folder/provider mapping so dashboards land in the right place per category automatically.
- Pin datasource UIDs to stable values that dashboard JSON can reference, currently a manual import can shift the UID each time.
- Establish JSON normalization (stripping unnecessary export metadata) alongside a review strategy.
# Future alternative example: dashboard sidecar pattern (not yet applied)apiVersion: v1kind: ConfigMapmetadata: name: dashboard-application-overview labels: grafana_dashboard: "1"data: dashboard.json: | { "title": "Application Overview", "panels": [ ] }The alerting boundary
Section titled âThe alerting boundaryâThe current manifests donât configure any of the following.
- Grafana provisioned alert rules/contact points
- Grafana alert sidecar
- Mimir Alertmanager/Ruler
- Loki Ruler
In other words, you can âviewâ state through dashboards, but thereâs no path that automatically notifies anyone when a threshold is violated. Dashboard operations and alerting are separate areas at very different levels of completeness, and shouldnât be described as the same thing. Future extension could move toward managing recording/alerting rules as code on top of the Mimir Ruler.
Wrapping up the series
Section titled âWrapping up the seriesâAcross five parts, we walked through the Log/Metric/Trace/Dashboard pipelines grounded in the actual GitOps manifests. The common takeaway is one thing: the current structure has clear separation of concerns and per-signal backends, but itâs a single-replica development environment, and dashboard provisioning and alerting arenât finished yet. The next steps are about closing those two gaps.
- Part 1: Building an Integrated Observability Architecture with GitOps
- Part 2: Kubernetes Log Pipeline
- Part 3: Kubernetes Metrics Pipeline
- Part 4: Distributed Trace Pipeline
- Part 5: Operating Grafana Dashboards (this post)