Monitoring changedmonitoring-usage
Nearest release: v2.1.334, published under an hour after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 1 Dec 2026 18:16 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 1 Dec 2026 18:37 UTC.
Upstream edited
Recorded here
Lines+12added
Lines−0removed
From line
43
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits100to this page, all time
The whole hunk
from line 43, old and new numbered
/
from line 43
4343
4444## Administrator configuration
4545
46> [!NOTE]
47>
48> If you set **OTLP endpoint** under **Telemetry & updates** in the [Enterprise Admin Console](https://claude.com/docs/third-party/claude-desktop/admin-console-claude-code), terminal sessions that export there don't follow your endpoint, protocol, or gRPC certificate variables. To send their data somewhere else, change that field in the console. If you set `OTEL_EXPORTER_OTLP_ENDPOINT`, even in managed settings, those sessions still export to the console's collector.
49>
50> Run `/status` to check a session on Claude Code v2.1.331 or later. Only terminal sessions that get their collector from the console show a **Telemetry** row, which lists that collector's host. If the row starts with `not sent to`, the session isn't exporting. See [which computers follow the console](https://claude.com/docs/third-party/claude-desktop/admin-console-claude-code#which-settings-take-priority), [what else it replaces](https://claude.com/docs/third-party/claude-desktop/admin-console-claude-code-reference#managed-settings-beside-the-console), and [which certificate variables to set](#mtls-authentication).
51
4652Administrators can configure OpenTelemetry settings for all users through the [managed settings file](https://code.claude.com/docs/en/managed-settings.md#delivery-mechanisms). See the [settings precedence](https://code.claude.com/docs/en/settings.md#settings-precedence) for more information about how settings are applied.
4753
4854Example managed settings configuration:
from line 74
6874
6975### How managed settings lock the OTLP destination
7076
77Skip this section for sessions that export to the [Enterprise Admin Console's collector](#administrator-configuration).
78
7179When you set an `OTEL_EXPORTER_OTLP_*` variable in managed settings, Claude Code removes conflicting developer-set variables at startup and logs a warning in the debug log. What it removes depends on which variable you set:
7280
7381* **Endpoints**: when you set `OTEL_EXPORTER_OTLP_ENDPOINT`, Claude Code removes every developer-set per-signal endpoint. Developers can't point one signal at a different collector, so you don't need to also set the per-signal endpoint variables in managed settings.
from line 149
141149
142150For `grpc`, the OpenTelemetry SDK reads the standard OTLP variables directly, so existing configurations that set the per-signal metrics variables continue to work. On machines with managed settings, Claude Code [may remove developer-set per-signal credentials and endpoints](#how-managed-settings-lock-the-otlp-destination) at startup.
143151
152For a session that exports to the [Enterprise Admin Console's collector](#administrator-configuration), use the variables in the `http/protobuf`, `http/json` row, whichever protocol you chose in the console. Claude Code ignores the variables in the `grpc` row for that collector, including `OTEL_EXPORTER_OTLP_CERTIFICATE`. If the collector uses a private CA, [set `NODE_EXTRA_CA_CERTS`](https://code.claude.com/docs/en/network-config#custom-ca-certificates) to trust it.
153
144154### Metrics cardinality control
145155
146156The following environment variables control which attributes are included in metrics and events to manage cardinality:
from line 1797
17871797The sweep doesn't cover every path. [Kept until you delete them](https://code.claude.com/docs/en/claude-directory.md#kept-until-you-delete-them) lists what stays, and [Clear local data](https://code.claude.com/docs/en/claude-directory.md#clear-local-data) shows how to remove it.
17881798
17891799### Send events to a SIEM
1800
1801For sessions that export to the [Enterprise Admin Console's collector](#administrator-configuration), skip these steps and forward events to your SIEM from that collector.
17901802
17911803Point `OTEL_EXPORTER_OTLP_LOGS_ENDPOINT` at your SIEM's OTLP receiver, or at an OpenTelemetry Collector that forwards to your SIEM's native ingest API. The following managed-settings example exports events only, with full tool detail enabled for MCP and Bash auditing:
17921804
No line in this hunk matches that.