{"name":"ENABLE_BETA_TRACING_DETAILED","slug":"enable-beta-tracing-detailed","family":"env","title":"Environment variables","noun":"environment variable","description":"Detailed beta tracing now also requires that the session is not diskless, so it stops in sessions that avoid writing to disk","description_source":"entry","described_by":{"version":"2.1.295","anchor":"beta-detailed-tracing-now-disabled-in-diskless-sessions"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":149,"mined_builds":149,"first_cited":null},"aliases":[],"entries":[{"version":"2.1.295","anchor":"beta-detailed-tracing-now-disabled-in-diskless-sessions","heading":"Detailed beta tracing no longer runs in diskless sessions","line":"Detailed beta tracing now also requires that the session is not diskless, so it stops in sessions that avoid writing to disk","released_at":"2026-10-08 18:22:58","reason":"found in this entry's text, named in this entry"}],"entries_total":1,"docs":[{"source":"claude-code","path":"agent-sdk\/observability","title":"Observability with OpenTelemetry","documented":false},{"source":"claude-code","path":"env-vars","title":"Environment variables","documented":false},{"source":"claude-code","path":"monitoring-usage","title":"Monitoring","documented":false},{"source":"claude-code","path":"server-managed-settings","title":"Configure server-managed settings","documented":false},{"source":"claude-code","path":"settings-reference","title":"All settings","documented":false}],"docs_total":5,"gates":[],"related":[{"name":"ENABLE_CLAUDEAI_MCP_SERVERS","slug":"enable-claudeai-mcp-servers","description":"Eval sandboxes force claude.ai MCP servers off so they can't reach real servers."},{"name":"ENABLE_ENHANCED_TELEMETRY_BETA","slug":"enable-enhanced-telemetry-beta","description":"Older name for `CLAUDE_CODE_ENHANCED_TELEMETRY_BETA`, read from `process.env` only when that variable is unset. A value of `1`, `true`, `yes` or `on` turns on the enhanced OpenTelemetry tracing spans (such as the `interaction` span); `ENABLE_BETA_TRACING_DETAILED` also turns them on. A true value in a settings `env` block is listed with the note `(adds traces to the telemetry export)`."},{"name":"ENABLE_LOCKLESS_UPDATES","slug":"enable-lockless-updates","description":null},{"name":"ENABLE_LSP_TOOL","slug":"enable-lsp-tool","description":null},{"name":"ENABLE_MCP_LARGE_OUTPUT_FILES","slug":"enable-mcp-large-output-files","description":"MCP_TOOL_TIMEOUT is parsed with a minimum of 1 and ENABLE_MCP_LARGE_OUTPUT_FILES only disables when explicitly false."},{"name":"ENABLE_PID_BASED_VERSION_LOCKING","slug":"enable-pid-based-version-locking","description":null},{"name":"ENABLE_PROMPT_CACHING_1H","slug":"enable-prompt-caching-1h","description":"You can pin the prompt cache to five minutes or an hour, separately for subagents."},{"name":"ENABLE_PROMPT_CACHING_1H_BEDROCK","slug":"enable-prompt-caching-1h-bedrock","description":"When `1`, `true`, `yes` or `on` and the API provider is Bedrock, requests use a `1h` prompt cache TTL. It applies only when no earlier source decides the TTL: `FORCE_PROMPT_CACHING_5M`, the `CLAUDE_CODE_PROMPT_CACHE_TTL` or `CLAUDE_CODE_SUBAGENT_PROMPT_CACHE_TTL` env vars, the `promptCacheTtl` or `subagentPromptCacheTtl` settings, and an agent's frontmatter TTL all take precedence. `ENABLE_PROMPT_CACHING_1H` does the same for every provider."},{"name":"ENABLE_SESSION_BACKGROUNDING","slug":"enable-session-backgrounding","description":null},{"name":"ENABLE_SESSION_PERSISTENCE","slug":"enable-session-persistence","description":null}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/enable-beta-tracing-detailed","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}