{"name":"OTEL_RESOURCE_INCLUDE_HOST","slug":"otel-resource-include-host","family":"env","title":"Environment variables","noun":"environment variable","description":"Setting OTEL_RESOURCE_INCLUDE_HOST adds host.name and host.id to the OpenTelemetry data Claude Code sends, with some exceptions","description_source":"entry","described_by":{"version":"2.1.326","anchor":"otel-host-resource-attributes-opt-in"},"presence":{"first_seen":"2.1.326","removed_in":null,"in_current_build":true,"newest_mined":"2.1.330","builds":5,"mined_builds":169,"first_cited":{"version":"2.1.326","released_at":"2026-11-16 18:43:39","spans":1}},"aliases":[],"entries":[{"version":"2.1.326","anchor":"otel-host-resource-attributes-opt-in","heading":"Telemetry can now include the host name and host ID","line":"Setting OTEL_RESOURCE_INCLUDE_HOST adds host.name and host.id to the OpenTelemetry data Claude Code sends, with some exceptions","released_at":"2026-11-16 18:43:39","reason":"found in this entry's text, named in this entry"}],"entries_total":1,"docs":[{"source":"claude-code","path":"changelog","title":"Claude Code changelog","documented":false},{"source":"claude-code","path":"monitoring-usage","title":"Monitoring","documented":false},{"source":"claude-code","path":"settings-reference","title":"All settings","documented":false}],"docs_total":3,"gates":[],"related":[{"name":"OTEL_RESOURCE_ATTRIBUTES","slug":"otel-resource-attributes","description":"The gateway config accepts telemetry.resource_attributes, labels passed to spawned sessions when telemetry.forward_to is set"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/otel-resource-include-host","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}