{"version":"2.1.246","anchor":"telemetry-credentials-are-stripped-when-the-endpoint-is-not-","canonical_anchor":"telemetry-credentials-are-stripped-when-the-endpoint-is-not-","heading":"Telemetry credentials are stripped when the endpoint is not the host they belong to","tier":"notice","area":"Telemetry","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.246\/e\/telemetry-credentials-are-stripped-when-the-endpoint-is-not-","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.246","markdown":"### Telemetry credentials are stripped when the endpoint is not the host they belong to\n\nYour Anthropic credential is stripped from telemetry sent to a third-party collector.\n\n**What**\n\nBefore sending telemetry, Claude Code now compares the credential it holds against the endpoint host and, if they do not match, removes the auth headers with the reason `misrouted_credential`. Pointing OpenTelemetry metrics at a third-party collector no longer leaks your Anthropic credential to it.\n\n**Details**\n\n- Applies whenever OTel metrics export runs; there is no flag to turn it off.\n- The BigQuery metrics exporter checks in three places: it skips export entirely when the metrics endpoint is misrouted, skips the organization `metrics_enabled` lookup when that endpoint is misrouted, and otherwise sends without auth headers rather than failing outright.\n- The `metrics_enabled` request moved to `auth: \"none\"` with headers attached explicitly, and raises a new error when no usable credential exists.\n\n**Evidence**\n\n`credential withheld: this telemetry endpoint is not the host it belongs to`\n\n- Area: Telemetry\n- Tier: You'll notice\n- Useful: 4\/5\n- Signal: 3\/5"}