Add OpenTelemetry distributed tracing (Tempo + Beyla eBPF) #286

Merged
eblume merged 9 commits from feature/otel-tracing into main 2026-03-05 10:51:07 -08:00
Showing only changes of commit 3eb1bb70a0 - Show all commits

Document Tempo storage monitoring query

Add PromQL query for checking Tempo storage utilization
against PVC capacity using tempodb_backend_bytes_total.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Erich Blume 2026-03-05 10:16:58 -08:00

View file

@ -46,6 +46,16 @@ Beyla auto-instruments HTTP services via eBPF kernel hooks — no code changes n
**Future: SDK instrumentation**
Services with OTel SDK support (e.g., Hermes) can send traces directly to the OTLP endpoint for deeper internal spans (DB queries, business logic) alongside eBPF envelope traces.
## Storage Monitoring
Tempo exposes `tempodb_backend_bytes_total` via its `/metrics` endpoint (scraped by [[prometheus]]). To check storage utilization against the 10Gi PVC:
```promql
tempodb_backend_bytes_total / 10737418240 * 100
```
Full PVC-level monitoring (via kubelet volume stats) is not yet available — see backlog.
## Grafana Integration
- **Tempo datasource** with trace-to-log and trace-to-metrics correlation