Releases: DataDog/dd-apm-test-agent
Releases · DataDog/dd-apm-test-agent
1.5.1
Bug Fixes
- Fix /test/traces endpoint attempting to decode non-trace requests.
- Use 722 permissions for UDS socket to match the agent.
1.5.0
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
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
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
Bug Fixes
- Handle span
parent_id
being undefined.
1.3.1
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
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
Release Notes
v1.2.1
Bug Fixes
- Fix log messages in
ddapm-test-agent-fmt
.
1.2.0
Release Notes
v1.2.0
New Features
- Added
ddapm-test-agent-fmt
to format or validate snapshot json files.
1.1.0
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 theDD_AGENT_URL
orDD_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.