Skip to content

Releases: DataDog/dd-apm-test-agent

1.45.0

18 Mar 14:28
bfc5ff2

Choose a tag to compare

New Features

  • Adds a --enable-claude-code-hooks option to insert the test agent's Claude Code hooks on startup.
  • Adds a new lapdog startup command which starts up the test agent with Claude Code hooks enabled.
  • Updates the suite of lapdog commands:
    • lapdog start now launches the test agent with --enable-claude-code-hooks in the background.
    • lapdog stop stops that test agent instance
    • lapdog status logs the current status (url, pid, and logs file) of the lapdog instance
    • lapdog claude starts a claude session through lapdog, starting lapdog locally if not started by lapdog start

1.44.0

10 Mar 15:35
498f7a2

Choose a tag to compare

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.

1.43.0

24 Feb 09:52
ebf86c8

Choose a tag to compare

New Features

  • OTLP: Add support for OpenTelemetry Protocol (OTLP) traces via HTTP endpoint v1/traces on port 4318 and GRPC server on port 4317. The endpoint accepts both application/json and application/x-protobuf content types. Session endpoint /test/session/traces allows retrieval of captured traces for validation.
  • Add a new meta_events_is_valid_json check that validates meta.events contains a valid JSON array when present. Normalize meta.events attribute key ordering during snapshot generation and comparison to ensure snapshot tests pass regardless of the iteration order of tracer-side hash maps.

1.41.0

18 Feb 22:33
f2447cd

Choose a tag to compare

New Features

  • Add Claude Code hooks integration that receives Claude Code lifecycle events and assembles them into LLM Observability traces, enabling visibility into Claude Code sessions through the web UI.

Bug Fixes

  • Include metadata field in LLM Observability event platform responses.

1.40.0

05 Feb 15:43
98edc1c

Choose a tag to compare

New Features

  • Forwards LLM Observability span events to Datadog by default. Uses either the configured --agent-url or the --dd-site and --dd-api-key command-line arguments. This can be disabled by setting the DISABLE_LLMOBS_DATA_FORWARDING environment variable or --disable-llmobs-data-forwarding command-line argument to true.
  • Add LLM Observability Event Platform API endpoints for local development. Supports span querying, filtering, trace retrieval, and facet endpoints to enable the Datadog UI to display locally collected LLMObs spans.
  • LLM Observability: Add filter query support to facet_info and facet_range_info endpoints. Facet values and ranges can now be computed from filtered spans using the search.query parameter.

1.39.0

09 Dec 09:16
fa5f0dd

Choose a tag to compare

New Features

  • Add support for controlling the test agent version via the TEST_AGENT_VERSION environment variable. The version is returned in the /info endpoint response.

Bug Fixes

  • Ignores the Transfer-Encoding header in proxied vcr requests, forwarding this header can lead to failures in downstream services.

1.38.0

11 Nov 19:11
fd46ab6

Choose a tag to compare

Deprecation Notes

  • VCR has been removed as a dependency, and instead JSON cassettes are produced. Legacy VCR cassettes are converted to JSON on first use, and the old VCR cassettes are removed. This functionality will be removed in ddapm-test-agent==2.0.0, at which point only JSON cassettes will be written and read.

v1.37.0

31 Oct 18:02
7cab7b1

Choose a tag to compare

New Features

  • Add /evp_proxy/v2/api/v2/exposures endpoint to collect feature flag exposures requests.
  • Adds a new web ui that provides a dashboard for inspecting agent configuration, viewing received requests, exploring traces and snapshots, and managing tracer-flare and remote configuration.

Bug Fixes

  • otlp: Fix OTLP endpoint response format for logs and metrics to return proper protobuf content type and serialized response body for HTTP requests.

New Contributors

1.36.0

07 Oct 21:09
48f5162

Choose a tag to compare

New Features

  • Add support for /evp_proxy/v4/api/v2/errorsintake endpoint to collect errors intake payload requests.

1.35.0

06 Oct 16:34
ab63282

Choose a tag to compare

New Features

  • Add support for running the test agent over a Windows named pipe.
  • vcr: Adds support for specifying a list of custom providers in the --vcr-provider-map flag or VCR_PROVIDER_MAP environment variable. The list should take the form of provider1=http://provider1.com/,provider2=http://provider2.com/.
  • vcr: Adds support for specifying a list of headers to ignore when recording VCR cassettes in the --vcr-ignore-headers flag or VCR_IGNORE_HEADERS environment variable. The list should take the form of header1,header2,header3.