managarten/docker
Till JS 76577869e1 feat(mana-ai): OpenTelemetry tracing + Grafana Tempo backend
Add distributed tracing to the mana-ai background runner so mission
execution can be visualized end-to-end in Grafana.

Instrumentation (services/mana-ai/):
- tracing.ts: OTel provider setup with OTLP/HTTP exporter, withSpan() helper
- tick.ts: tick.planMission span with mission/agent/user attributes
- client.ts: planner.complete span with LLM model, tokens, latency

Infrastructure:
- docker/tempo/tempo.yaml: Grafana Tempo config (OTLP HTTP on 4318)
- docker-compose: tempo service + tempo_data volume + mana-ai env var
- docker/grafana/provisioning/datasources/tempo.yml: auto-provisioned

Trace flow:
  tick.planMission (root span)
    └── planner.complete (child span)
        ├── llm.model = "gpt-4o-mini"
        ├── llm.tokens.total = 1234
        └── llm.response.length = 567

Enable: set OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318
View: Grafana → Explore → Tempo datasource

Also fixes: removed broken @mana/subscriptions workspace ref from arcade.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 15:21:23 +02:00
..
alert-notifier feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
alertmanager feat: rename ManaCore to Mana across entire codebase 2026-04-05 20:00:13 +02:00
blackbox feat(monitoring): add uptime monitoring via Blackbox Exporter 2026-03-31 17:43:25 +02:00
grafana feat(mana-ai): OpenTelemetry tracing + Grafana Tempo backend 2026-04-16 15:21:23 +02:00
init-db feat(mail): add mana-mail service and frontend module (Phase 1 MVP) 2026-04-13 20:35:54 +02:00
loki feat(gpu-server): complete GPU server setup with AI services, monitoring, and public access 2026-03-27 21:35:30 +01:00
nginx refactor: rename zitare -> quotes (Zitate) 2026-04-14 20:59:16 +02:00
postgres fix(infra): use postgres -c flags instead of config_file override 2026-03-24 11:42:42 +01:00
prometheus feat(ai): Mission Grant rollout gating — flag, alerts, runbook, user docs 2026-04-15 14:02:47 +02:00
promtail fix(mana-auth) + chore: rewrite /api/v1/auth/login JWT mint, remove Matrix stack 2026-04-08 16:32:13 +02:00
shared 🐛 fix(docker): add missing build-shared-packages.sh script for Docker builds 2025-12-25 20:51:15 +01:00
templates chore: remove all NestJS backend references, replace with Hono/Bun 2026-03-31 16:52:25 +02:00
tempo feat(mana-ai): OpenTelemetry tracing + Grafana Tempo backend 2026-04-16 15:21:23 +02:00
Dockerfile.hono-server feat(infra): add docker-compose for new Hono services + DB init 2026-03-28 17:54:24 +01:00
Dockerfile.sveltekit-base fix(docker): drop packages/shared-config (deleted) from sveltekit-base 2026-04-09 12:43:17 +02:00