Skip to content

fix(otel): default OTLP exporter to plaintext gRPC (DEV-32)#4

Merged
RndmCodeGuy20 merged 1 commit into
stagingfrom
feat/dev-32-otel-tls-insecure-default
Jun 16, 2026
Merged

fix(otel): default OTLP exporter to plaintext gRPC (DEV-32)#4
RndmCodeGuy20 merged 1 commit into
stagingfrom
feat/dev-32-otel-tls-insecure-default

Conversation

@RndmCodeGuy20

Copy link
Copy Markdown
Owner

Closes DEV-32.

OTEL_TLS_INSECURE defaulted to TLS against the bundled plaintext collector, so 100% of traces/metrics were silently dropped in every env where the var was unset (.env, .env.local, .env.staging all omit it).

Fix

  • Invert the default: unset means plaintext; TLS is opt-in via OTEL_TLS_INSECURE=false
  • Add parseTLSInsecure helper with unit tests
  • Both tracer and metrics exporters fixed via the single config-parse change

🤖 Generated with Claude Code

- Invert OTEL_TLS_INSECURE default so unset means plaintext, not TLS
- Add parseTLSInsecure helper: only "false" opts into TLS
- Stop silent telemetry loss against the bundled plaintext collector
- Add unit tests for the env-var parsing
@RndmCodeGuy20 RndmCodeGuy20 merged commit 142f170 into staging Jun 16, 2026
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.

1 participant