blumeops/docs/reference/services
Erich Blume c281fb5403 Add OpenTelemetry distributed tracing (Tempo + Beyla eBPF) (#286)
## Summary

Adds the third observability pillar — **distributed tracing** — alongside existing metrics (Prometheus) and logs (Loki).

- **Grafana Tempo 2.10.1** on minikube-indri for trace storage with 7d retention, OTLP receivers, and `metrics_generator` that remote-writes span-metrics (RED) to Prometheus
- **Beyla eBPF auto-instrumentation** via a privileged Alloy DaemonSet on ringtail — instruments HTTP services (Frigate, ntfy, Ollama, Immich) without code changes
- **Grafana integration** — Tempo datasource with trace↔log and trace↔metrics correlation, plus Loki derivedFields for trace ID linking
- **Prometheus** scrapes Tempo operational metrics

### Architecture

```
ringtail (k3s)                                indri (minikube)
┌──────────────────────┐                      ┌─────────────────────┐
│ Alloy+Beyla (eBPF)   │──OTLP HTTP────────→ │ Tempo               │
│  ↳ Frigate, ntfy,    │  via tailnet         │  ↳ trace storage    │
│    Ollama, Immich     │                      │  ↳ RED → Prometheus │
└──────────────────────┘                      │                     │
                                              │ Grafana             │
                                              │  ↳ Tempo datasource │
                                              └─────────────────────┘
```

### New files (12)
- `docs/reference/services/tempo.md` — reference doc
- `docs/changelog.d/feature-otel-tracing.feature.md`
- `argocd/apps/tempo.yaml` + `argocd/manifests/tempo/` (6 files)
- `argocd/apps/alloy-tracing-ringtail.yaml` + `argocd/manifests/alloy-tracing-ringtail/` (4 files)

### Modified files (6)
- `argocd/manifests/grafana/datasources.yaml` — Tempo datasource + Loki derivedFields
- `argocd/manifests/prometheus/prometheus.yml` — Tempo scrape target
- `service-versions.yaml` — tempo + alloy-tracing-ringtail entries
- `docs/reference/services/grafana.md` — Tempo in datasources table
- `docs/reference/reference.md` — Tempo in services index
- `docs/reference/operations/observability.md` — Tempo in components list

## Deployment and Testing

- [ ] Sync `apps` app to pick up new Application definitions
- [ ] `argocd app set tempo --revision feature/otel-tracing && argocd app sync tempo`
- [ ] Verify Tempo pod: `kubectl --context=minikube-indri get pods -n monitoring -l app=tempo`
- [ ] Verify Tempo ready: port-forward 3200 and `curl localhost:3200/ready`
- [ ] Verify Tailscale ingresses: `kubectl --context=minikube-indri get ingress -n monitoring`
- [ ] `argocd app set alloy-tracing-ringtail --revision feature/otel-tracing && argocd app sync alloy-tracing-ringtail`
- [ ] Check Beyla discovery in alloy-tracing logs on ringtail
- [ ] Sync grafana-config for updated datasources
- [ ] Sync prometheus for updated scrape config
- [ ] Test Grafana Tempo datasource connection
- [ ] Generate test traffic and search traces in Grafana Explore → Tempo
- [ ] After merge: reset all ArgoCD app revisions back to main

Reviewed-on: #286
2026-03-05 10:51:07 -08:00
..
1password.md Fix frontmatter field name for Quartz date display (#158) 2026-02-11 16:45:12 -08:00
alloy.md Fix frontmatter field name for Quartz date display (#158) 2026-02-11 16:45:12 -08:00
argocd.md Add reference/tools/ category with Dagger, ArgoCD CLI, Ansible, and Pulumi cards (#178) 2026-02-12 19:18:46 -08:00
authentik.md Review deploy-authentik: rewrite as process guide (#257) 2026-02-23 14:35:39 -08:00
automounter.md Fix frontmatter field name for Quartz date display (#158) 2026-02-11 16:45:12 -08:00
borgmatic.md Fix frontmatter field name for Quartz date display (#158) 2026-02-11 16:45:12 -08:00
caddy.md Add CV service reference card and docs updates (#171) 2026-02-12 11:45:32 -08:00
cv.md Add CV service reference card and docs updates (#171) 2026-02-12 11:45:32 -08:00
devpi.md Fix frontmatter field name for Quartz date display (#158) 2026-02-11 16:45:12 -08:00
docs.md Fix frontmatter field name for Quartz date display (#158) 2026-02-11 16:45:12 -08:00
flyio-proxy.md Fix frontmatter field name for Quartz date display (#158) 2026-02-11 16:45:12 -08:00
forgejo.md Expose Forgejo publicly at forge.eblu.me (#278) 2026-03-03 08:40:41 -08:00
frigate.md Retire plans directory, convert migrate-forgejo-from-brew to mikado card 2026-03-04 20:28:14 -08:00
grafana.md Add OpenTelemetry distributed tracing (Tempo + Beyla eBPF) (#286) 2026-03-05 10:51:07 -08:00
immich.md Fix frontmatter field name for Quartz date display (#158) 2026-02-11 16:45:12 -08:00
jellyfin.md Fix frontmatter field name for Quartz date display (#158) 2026-02-11 16:45:12 -08:00
kiwix.md Bump kiwix-serve from 3.8.1 to 3.8.2 2026-03-05 08:12:32 -08:00
loki.md Fix frontmatter field name for Quartz date display (#158) 2026-02-11 16:45:12 -08:00
miniflux.md Fix frontmatter field name for Quartz date display (#158) 2026-02-11 16:45:12 -08:00
navidrome.md No navidrome authentikation 2026-02-21 20:33:48 -08:00
ntfy.md Review ntfy: upgrade to v2.17.0 and add reference docs (#201) 2026-02-17 09:51:40 -08:00
ollama.md Add Ollama reference card and update indexes 2026-03-04 19:43:14 -08:00
postgresql.md Doc review: connect-to-postgres, create-release-artifact-workflow, deploy-k8s-service (#191) 2026-02-15 07:42:01 -08:00
prometheus.md Fix frontmatter field name for Quartz date display (#158) 2026-02-11 16:45:12 -08:00
tempo.md Add OpenTelemetry distributed tracing (Tempo + Beyla eBPF) (#286) 2026-03-05 10:51:07 -08:00
teslamate.md Fix frontmatter field name for Quartz date display (#158) 2026-02-11 16:45:12 -08:00
transmission.md Upgrade Transmission to 4.1.1 (#282) 2026-03-04 07:44:33 -08:00
zot.md Docs pass: update zot Mikado chain for completion 2026-02-21 15:32:34 -08:00