feat: Add pinned telemetry stack and Grafana provisioning (U1)
Wire OTLP metrics, logs, and traces to Prometheus, Loki, and Tempo with bounded Collector queues. Provision Grafana sources and a dashboard based on the stores' and Collector's documented metrics. Runtime integration awaits the application Compose stack; static syntax and wiring checks pass.
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"uid": "lab6-telemetry",
|
||||
"title": "Lab 6 · Telemetry stack",
|
||||
"tags": ["lab6"],
|
||||
"timezone": "browser",
|
||||
"schemaVersion": 40,
|
||||
"version": 1,
|
||||
"refresh": "10s",
|
||||
"time": { "from": "now-1h", "to": "now" },
|
||||
"panels": [
|
||||
{
|
||||
"id": 1,
|
||||
"type": "timeseries",
|
||||
"title": "Telemetry stores and collector reachable",
|
||||
"description": "Prometheus self-scrape and internal /metrics endpoints. API and worker panels follow their actual exported metric names.",
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"targets": [
|
||||
{
|
||||
"refId": "A",
|
||||
"expr": "up{job=~\"prometheus|otel-collector|loki|tempo\"}",
|
||||
"legendFormat": "{{job}}"
|
||||
}
|
||||
],
|
||||
"fieldConfig": { "defaults": { "min": 0, "max": 1 }, "overrides": [] },
|
||||
"options": { "legend": { "displayMode": "list", "placement": "bottom" } },
|
||||
"gridPos": { "h": 8, "w": 24, "x": 0, "y": 0 }
|
||||
},
|
||||
{
|
||||
"id": 2,
|
||||
"type": "timeseries",
|
||||
"title": "Collector exporter queue size",
|
||||
"description": "Bounded exporter queues, sourced from the Collector's own Prometheus endpoint.",
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"targets": [
|
||||
{
|
||||
"refId": "A",
|
||||
"expr": "otelcol_exporter_queue_size{job=\"otel-collector\"}",
|
||||
"legendFormat": "{{exporter}}"
|
||||
}
|
||||
],
|
||||
"fieldConfig": { "defaults": { "min": 0 }, "overrides": [] },
|
||||
"options": { "legend": { "displayMode": "list", "placement": "bottom" } },
|
||||
"gridPos": { "h": 8, "w": 24, "x": 0, "y": 8 }
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user