docs(telemetry): describe the relay's disable gate and the anonymous endpoint's traces-only export
Merged
WA
7d ago+3+3+0123456789-3-3-0123456789
Summary
- Follow-up to #9317, raised on the release PR:
observability.mdxstill described the old behavior.- The relay (
POST /api/telemetry) now honorsNEXT_TELEMETRY_DISABLED=1, posts toTELEMETRY_ENDPOINTas-is or thetelemetry.config.tsendpoint, and never sendsOTEL_EXPORTER_OTLP_HEADERS. - The server SDK exports traces, metrics and logs only to a collector you configure; the anonymous default receives traces only and never gets OTLP headers.
- The endpoint-precedence paragraph names the relay's fallback correctly.
- The relay (
Type of Change
- Documentation
Testing
Checked each sentence against apps/sim/app/api/telemetry/route.ts, apps/sim/lib/monitoring/otlp.ts and apps/sim/instrumentation-node.ts on staging.
Checklist
- Code follows project style guidelines
- Self-reviewed my changes
- Tests added/updated and passing (new tests pass the
test-auditauthoring gate) - No new warnings introduced
- I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)