I3935 — An agent session's telemetry reaches the same OpenTelemetry endpoint, configured once and projected to every provider
Declare the OpenTelemetry endpoint once in the repository's environment model and project the variables each provider reads (for Claude Code CLAUDE_CODE_ENABLE_TELEMETRY, OTEL_METRICS_EXPORTER, OTEL_LOGS_EXPORTER, OTEL_EXPORTER_OTLP_ENDPOINT and its headers from the person's local environment), so that sessions' cost, tokens and tool time sit beside CI's traces.
BLOKOVÁNO vlna 1 · p2 · implementační profil · bezpečné paralelně
Blocked. This issue cannot start until I3934 is done. The status is derived from that, not declared.
Cíl
Declare the OpenTelemetry endpoint once in the repository's environment model and project the variables each provider reads (for Claude Code CLAUDE_CODE_ENABLE_TELEMETRY, OTEL_METRICS_EXPORTER, OTEL_LOGS_EXPORTER, OTEL_EXPORTER_OTLP_ENDPOINT and its headers from the person's local environment), so that sessions' cost, tokens and tool time sit beside CI's traces.
Proč
Sessions are most of this repository's work and their cost is read from per-provider screens; with CI traces in one endpoint (I3934), session telemetry in the same place makes a slow pipeline and an expensive session one question.
Aktuální stav
No provider projection carries telemetry settings; nothing is exported.
Cílový stav
The environment model names the endpoint once; provider projections export it only when the person's local environment supplies it; the headers stay in the local half and are never committed.
Rozsah
- .ai/repo/providers
- podíl
- dokumentace
- .ai/repo/project/issues/I3935.yaml
Mimo rozsah
- Committing an endpoint, token or header value
Závislosti
Kritéria přijetí
- With the local endpoint set, a Claude Code session exports its metrics to it
- With nothing set, no provider exports anything and no projection differs except by the declared names
Validace
- bin/majordomus doctor
Požadované důkazy
- sada testů
Důkazy
Nic nezaznamenáno. Za každým tokenem výše musí stát příkaz nebo artefakt, než lze tento úkol dokončit; vyprávění se odmítá.
Riziko
Telemetry settings are per person; projecting a value rather than a name would leak it into the tracked half.
Časová osa
- zahájeno
- —
- ověřeno
- —
- dokončeno
- —
Tato tři pole, důkazy výše a stav závislostí jsou vše, z čeho se stav skládá. Neexistuje žádné pole stavu, které by s nimi mohlo být v rozporu.
Canonical record: .ai/repo/project/issues/I3935.yaml. Read it back with majordomus plan show I3935.