Skip to content
Artwork for The Claude Code Changelog
The Claude Code Changelog · Thursday · 5 min

Track Claude Code Guardrails with OpenTelemetry

Claude Code 2.1.307 adds the claude_code.safety_event OpenTelemetry event, letting teams track when permissions, safety checks, hooks, or the sandbox stop, prompt, or send back a tool call. Learn how to query the event for sandbox violations and recurring permission prompts, plus caveats about interpreting the counts. We also cover the release’s MCP retry and authentication fixes, checkout-hook timeouts, and pull-request review controls.

0:00-5:08

transcript

No transcript — this publisher did not publish one.

show notes

Claude Code 2.1.307 adds the claude_code.safety_event OpenTelemetry event, letting teams track when permissions, safety checks, hooks, or the sandbox stop, prompt, or send back a tool call. Learn how to query the event for sandbox violations and recurring permission prompts, plus caveats about interpreting the counts. We also cover the release’s MCP retry and authentication fixes, checkout-hook timeouts, and pull-request review controls.