{"name":"OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT","slug":"otel-span-attribute-value-length-limit","family":"env","title":"Environment variables","noun":"environment variable","description":"Maximum length of span attribute values in the bundled OpenTelemetry trace SDK; unset means no limit. Claude Code also uses the smallest of this, `OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT`, `OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT` and `CLAUDE_CODE_OTEL_CONTENT_MAX_LENGTH` (default `61440`) as the character cap on the content it records in telemetry, such as prompts, system prompts, model output and tool inputs and results.","description_source":"code","described_by":{"bundle":"2.1.286","author":"claude-opus-5-5"},"presence":{"first_seen":"2.1.213","removed_in":null,"in_current_build":true,"newest_mined":"2.1.309","builds":85,"mined_builds":150,"first_cited":null},"aliases":[],"entries":[{"version":"2.0.18","anchor":"opentelemetry-tracing-support-opt-in","heading":"OpenTelemetry Tracing Support (Opt-In)","line":null,"released_at":"2025-10-15 19:45:18","reason":"found in this entry's text"}],"entries_total":1,"docs":[],"docs_total":0,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/otel-span-attribute-value-length-limit","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}