{"name":"OTEL_EXPORTER_OTLP_LOGS_ENDPOINT","slug":"otel-exporter-otlp-logs-endpoint","family":"env","title":"Environment variables","noun":"environment variable","description":"URL for OTLP log exports, used as given without a `\/v1\/logs` suffix and taking precedence over `OTEL_EXPORTER_OTLP_ENDPOINT`. Claude Code also reads it to pick the log exporter's proxy and TLS agent options and when matching the endpoint against a collector named by gateway managed settings.","description_source":"code","described_by":{"bundle":"2.1.286","author":"claude-opus-5-5"},"presence":{"first_seen":"2.1.160","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":129,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[],"entries_total":0,"docs":[{"source":"claude-code","path":"monitoring-usage","title":"Monitoring","documented":false},{"source":"claude-docs","path":"third-party\/claude-desktop\/telemetry","title":"Telemetry and egress","documented":false}],"docs_total":2,"gates":[],"related":[{"name":"OTEL_EXPORTER_OTLP_LOGS_HEADERS","slug":"otel-exporter-otlp-logs-headers","description":"Comma-separated `key=value` headers for OTLP log exports; the bundled exporters merge it over `OTEL_EXPORTER_OTLP_HEADERS`, its values winning on a clash. While it is set, Claude Code skips some of its built-in routes that attach its own `Authorization: Bearer` token to log exports."},{"name":"OTEL_EXPORTER_OTLP_LOGS_PROTOCOL","slug":"otel-exporter-otlp-logs-protocol","description":"Protocol for the OTLP log exporter when `OTEL_LOGS_EXPORTER` includes `otlp`: `grpc`, `http\/json` or `http\/protobuf`. Unset or empty falls back to `OTEL_EXPORTER_OTLP_PROTOCOL`; any other value throws `Unknown protocol set in OTEL_EXPORTER_OTLP_LOGS_PROTOCOL or OTEL_EXPORTER_OTLP_PROTOCOL env var`."}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/otel-exporter-otlp-logs-endpoint","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}