What probably matters to youSection of the release
Unclear The full list of situations where the host details are left out is not settled.
What
OpenTelemetry is the system some setups use to collect usage data from Claude Code. A new OTEL_RESOURCE_INCLUDE_HOST setting adds the machine's host.name and host.id to that data. Before, no host details were included.
The host details are not added in some cases, including when data goes to a console exporter (output printed to the terminal) and in remote sessions. Claude Code looks the details up in the background with a time limit based on CLAUDE_CODE_OTEL_SHUTDOWN_TIMEOUT_MS.
Why
If you collect telemetry from many machines, you can now tell which machine each piece of data came from.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Added sinceA small documentation edit on All settings touched a line naming OTEL_RESOURCE_INCLUDE_HOST after this was published.* `OTEL_RESOURCE_INCLUDE_HOST`, which [adds the machine's name and ID](https://code.claude.com/docs/en/monitoring-usage.md#identify-the-machine-a-session-ran-on)settings-referencesee the edit
Confirmed sinceAnthropic's documentation has since written up OTEL_RESOURCE_INCLUDE_HOST, on Monitoring.| `OTEL_RESOURCE_INCLUDE_HOST` | Add the machine's name and ID to the resource attributes of metrics, events, and traces (default: disabled). See [Identify the machine a session ran on](#identify-the-machine-a-session-ran-on). Requires Cla…monitoring-usagesee the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe full list of situations where the host details are left out is not settled.
Anthropic's documentation agreesAnthropic's documentation has since written up OTEL_RESOURCE_INCLUDE_HOST, on Monitoring.
Anthropic's release notes agreeAdded OTEL_RESOURCE_INCLUDE_HOST to include host.name and host.id in OpenTelemetry resource attributes (off by default)
The name it cites is new in this buildNew in this build: OTEL_RESOURCE_INCLUDE_HOST