Skip to content

Releases: DataDog/dd-apm-test-agent

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.

1.0.0

16 Sep 22:31
Compare
Choose a tag to compare

Release Notes

v1.0.0

New Features

  • Move span attributes type, meta and metrics up in the JSON snapshot output to help with readability.

Bug Fixes

  • Specify required Python version to >= 3.8. It was mistakenly set to >= 3.7 in setup.py.

0.3

16 Sep 19:59
2595163
Compare
Choose a tag to compare
0.3

Release Notes

v0.3

New Features

  • Span output in snapshots are now ordered to be more human readable with the important attributes (name, service, resource) moved to the top of the JSON object. This affects the output JSON but does not break existing snapshots.
  • Add -v/--version command line option to display the version.

Bug Fixes

  • Fix command line arguments not being parsed.
  • Fix partial trace chunks (referring to spans in other chunks) causing 500s.

0.2

09 Sep 16:30
7eb4a96
Compare
Choose a tag to compare
0.2

Release Notes

0.2

Prelude

The test agent has been rewritten in Python and the API being cleaned up substantially.

New Features

  • /test/traces/ has been added to retrieve traces collected by the agent.
  • /test/session/traces/ has been added to retrieve traces collected by the agent for a specific session.
  • The test agent is now published to PyPI. It can be installed with pip install ddapm-test-agent.

Upgrade Notes

  • TEST_AGENT_PORT has been renamed to PORT.
  • X-Datadog-Test-Token has been renamed to X-Datadog-Test-Session-Token.
  • token has been renamed to test_session_token. X-Datadog-Test-Token has been renamed to X-Datadog-Test-Session-Token.
  • The default snapshot directory has been changed from snaps to snapshots.
  • The /test/start endpoint has been renamed to /test/session/start.
  • The /test/snapshot endpoint has been renamed to /test/session/snapshot.

0.1

08 Apr 16:37
0211c38
Compare
Choose a tag to compare
0.1
add native docker image using graalvm

Using graalvm drastically decreases the startup time of the test agent
from the order of seconds to single digit milliseconds.