You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
New Features
claude hooks: Enrich tool and subagent span names with human-readable intent extracted from tool input (e.g., "Read - claude_hooks.py" instead of "Read"). Adds tool_name tag for faceting.
Add ddapm-test-agent-run CLI launcher and Javascript fetch interceptor for routing Claude Code API calls through the test agent proxy. This replaces the ANTHROPIC_BASE_URL approach which can be overridden by managed settings. Usage: ddapm-test-agent-run claude.
Security Issues
Restrict CORS Access-Control-Allow-Origin from wildcard (*) to an allowlist of Datadog UI domains and localhost to prevent arbitrary websites from reading local trace data.
Bug Fixes
Update claude setup hooks to avoid some failure cases:
Check if test agent is already running before attempting to start a new container.
Add port conflict detection to warn users when port 8126 is occupied by the Datadog Agent or another process.
Move ANTHROPIC_BASE_URL from settings.json to a per-session environment variable to prevent Claude from breaking if the test agent stops between sessions.