Skip to content

Releases: DataDog/dd-apm-test-agent

1.5.0

22 Jul 20:09
2653859
Compare
Choose a tag to compare

New Features

  • Add metrics.process_id to default ignored attributes
  • Add support for POST /telemetry/proxy/api/v2/apmtelemetry endpoint and tracking telemetry requests.
  • Add support for the /info endpoint.
  • Add support for artificially throttling requests to simulate an agent under duress. Enabled dynamically via request header X-Datadog-Test-Trace-Stall-Seconds with /v0.4/trace requests or statically via the --trace-request-delay flag.
  • Add unix domain socket support. Enabled via environment variable DD_APM_RECEIVER_SOCKET or command line argument --trace-uds-socket.

Bug Fixes

  • Fix content length check assuming that the Content-Length header is always included in trace http requests. Some clients (like go) don't submit this header.
  • Add ClientDropP0s setting to /info response.
  • Handle POST /v0.6/stats requests. Only PUT was supported before.
  • Decode service field in trace stats requests, it was previously omitted.

1.4.0

01 Jun 13:27
1d5bee3
Compare
Choose a tag to compare

New Features

  • Add support for distributed traces where an instrumented service sends a trace chunk where the root span has a parent not in the trace chunk.
  • Build an ARM64 version of the Docker image as a multi-arch image.

1.3.3

11 May 14:54
6196d59
Compare
Choose a tag to compare

New Features

  • Better snapshot error messages for unexpected number of traces received.

Bug Fixes

  • Fix not present parent_id in snapshots. It should be normalized to 0.

1.3.2

04 May 20:07
Compare
Choose a tag to compare

Bug Fixes

  • Handle span parent_id being undefined.

1.3.1

07 Apr 15:18
Compare
Choose a tag to compare

Bug Fixes

  • Normalize trace stats snapshots using all the aggregation fields. This fixes an issue where snapshots could fail due to ordering of buckets.
  • Use HTTPStatusCode in trace stats snapshots. This field was missing.

1.3.0

01 Apr 19:48
ee9c03c
Compare
Choose a tag to compare

New Features

  • Add /test/session/requests endpoint to return all requests made to the test agent for a given session token.

  • Add support for the /v0.6/stats endpoint. All requests made to the endpoint will be stored and can be retrieved via the /test/session/requests or /test/session/stats endpoints. Note that snapshotting for stats is not yet implemented.

  • Implement trace stats snapshotting.

    Trace stats are now included in the snapshot behaviour provided by the testagent.

    Similar to traces, trace stats snapshots are output to a json file.

Bug Fixes

  • Fix custom snapshot filenames. Custom filenames are not supposed to include the file extension.

1.2.1

28 Jan 20:11
5773155
Compare
Choose a tag to compare

Release Notes

v1.2.1

Bug Fixes

  • Fix log messages in ddapm-test-agent-fmt.

1.2.0

28 Jan 18:48
7d814c3
Compare
Choose a tag to compare

Release Notes

v1.2.0

New Features

  • Added ddapm-test-agent-fmt to format or validate snapshot json files.

1.1.0

12 Oct 15:43
Compare
Choose a tag to compare

Release Notes

v1.1.0

New Features

  • Trace requests can now be proxied to an actual agent by passing an agent url to the test agent. This can be done by passing the --agent-url command-line option or via the DD_AGENT_URL or DD_TRACE_AGENT_URL environment variables.
  • Add Python 3.10 support.
  • Add support for the /v0.5/traces endpoint. Traces sent to this endpoint can be queried and snapshotted just as they can be for /v0.4/traces.

Other Notes

  • Snapshots will no longer have empty meta/metrics maps included in the output.

1.0.1

05 Oct 21:05
d60a18e
Compare
Choose a tag to compare

Release Notes

v1.0.1

Bug Fixes

  • Fix the snapshot matching algorithm which had previously assumed that trace ids would be unique across both sets of traces.
  • Fix sessions returning traces from all sessions.