Skip to content

docs(observability): document the blank otel-collector auth failure mode - #90

Merged
AndreJorgeLopes merged 1 commit into
mainfrom
docs/otel-collector-blank-auth-gotcha
Jul 30, 2026
Merged

docs(observability): document the blank otel-collector auth failure mode#90
AndreJorgeLopes merged 1 commit into
mainfrom
docs/otel-collector-blank-auth-gotcha

Conversation

@AndreJorgeLopes

Copy link
Copy Markdown
Owner

TL;DR

Found live while re-verifying trace-review: docker/.env's LANGFUSE_OTEL_BASIC_AUTH had gone empty, so otel-collector sent Authorization: Basic (nothing after it) to langfuse-web, which rejected every batch with HTTP 401. This silently dropped all Claude Code telemetry for ~27 days with zero visible error — devflow trace-review run just quietly reported observations: 0 / zero attribution.

Root-caused and fixed live: recomputed the value from ~/.config/zsh/secrets, docker compose up -d --force-recreate otel-collector (env vars bake at container creation — a plain restart doesn't re-read a changed .env). Verified: a fresh claude_code.tool observation landed seconds later, and devflow trace-review run immediately showed observations=24, attribution 1/29.

Change

Doc-only. Adds gotcha #4 to eval/OBSERVABILITY.md's existing "Hard-won gotchas" list, matching its own convention (3 entries already there) — so this is a 30-second diagnosis next time.

🤖 Generated with Claude Code

Found live 2026-07-30: docker/.env's LANGFUSE_OTEL_BASIC_AUTH had gone empty (cause
unknown - predates this session's changes), so otel-collector sent Authorization:
Basic <nothing> to langfuse-web, which rejected every batch with HTTP 401. This
silently dropped ALL Claude Code telemetry for roughly 27 days (last real
claude_code.tool observation before the fix: 2026-07-03) with zero visible error -
devflow trace-review run just quietly reported 0 observations / 0 attribution, and
nothing else surfaces this class of failure.

Root-caused and fixed live (recomputed the value from ~/.config/zsh/secrets,
docker compose up -d --force-recreate otel-collector - a plain restart does not
re-read a changed .env), verified by a fresh claude_code.tool observation landing
seconds later and devflow trace-review run immediately showing observations=24,
attribution 1/29. Documented as gotcha #4 alongside the existing three, matching the
file's own convention, so this is a 30-second diagnosis next time instead of the
investigation it took here.
Copilot AI review requested due to automatic review settings July 30, 2026 19:26

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@AndreJorgeLopes
AndreJorgeLopes merged commit a2f61c2 into main Jul 30, 2026
1 check passed
@AndreJorgeLopes
AndreJorgeLopes deleted the docs/otel-collector-blank-auth-gotcha branch July 30, 2026 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants