Skip to content

Releases: DataDog/dd-apm-test-agent

1.17.0

12 Apr 14:58
aa0a45a
Compare
Choose a tag to compare

New Features

  • Updates the logic for associating requests with a session. Prior to this change:

    1. non-existent tokens were permitted and returned associations with all requests,
    2. existent tokens returned associations with all matching requests + all untokenized requests after the session was created

    After this change:

    1. Requests with non-existent tokens return 400 error codes

    (2) Requests with existent tokens return all matching requests + all untokenized requests after the session was created but only up to the next session creation.

    Requests without a token continue to return all requests.

  • Add a client module which provides an API client that can be used to programmatically interface with the test agent.

  • Add support for Python 3.12. The interpreter used in the Docker image is now also Python 3.12. This should lead to some better error messages and some performance improvement.

Bug Fixes

  • Fix the parsing logic for tracer flare requests
  • Remove any existing UDS socket. If a socket was left behind by a previous instance of the test agent then it would fail to start.
  • Workaround an issue where `chmod`ing the UDS socket in containers causes the testagent to crash. Instead, a warning is emitted.

Other Notes

  • Exceptions will now result in a 400 status code with a body containing the exception that occurred.
  • The image size has been cut roughly in half.

1.16.0

01 Dec 17:25
b7b7c42
Compare
Choose a tag to compare

New Features

  • Add the ability to set the trace sample rates returned by the agent.

1.15.0

13 Nov 15:12
2f88046
Compare
Choose a tag to compare

New Features

  • Add /tracer_flare/v1 endpoint with basic form-field validation.
  • Add /test/session/tracerflares endpoint to return all tracer-flares received by the test agent for a given session token.

Bug Fixes

  • Adds dsm pathway.hash span tag to the ignored attributes for a trace snapshot.

1.14.0

06 Nov 15:22
07e1de9
Compare
Choose a tag to compare

New Features

  • Added ability to parse and verify span links in payloads as well as comparing them in snapshots.

1.13.2

23 Oct 15:25
d112da6
Compare
Choose a tag to compare

Bug Fixes

  • Add GET method support for the /v0.7/config endpoint. The Go library uses GET requests and the Datadog Agent supports multiple HTTP methods.

1.13.1

12 Oct 19:51
c72b457
Compare
Choose a tag to compare
  • Add fix for getting tested integrations when multiple session tokens are used. When no session token is included for a [GET] request to /test/integrations/tested_versions, all tested integrations are returned.

1.13.0

11 Oct 18:30
34e41d9
Compare
Choose a tag to compare

New Features

  • Add support for tracking the integrations being tested. Tracked integrations can be recorded by a [PUT] request to the Test Agent at /test/session/integrations. To get data about which integrations the Test Agent encountered, make a [GET] request to /test/integrations/tested_versions. Tested integrations include information such as the integration name, the tested integration version, the tracer language, the tracer version and the dependency name of the integration.

1.12.0

10 Aug 15:33
f127b47
Compare
Choose a tag to compare

New Features

Adds plain/text content-type for responses after request forwarding.

1.11.0

12 Jul 19:21
2843c2f
Compare
Choose a tag to compare

New Features

  • Checks have been changed to opt-in. This allows adding new checks before all languages have implemented the feature.
  • Adds two new Trace Checks for service naming and peer service. trace_dd_service check ensures that handled traces have a correctly configured service name according to the trace's Span Attribute Schema Version. trace_peer_service ensures the that the correct peer.service value is set for spans according to the supplied span precursors.
  • Adds new endpoints to the Test-Agent API: /test/trace_check/failures, /test/trace_check/clear, and /test/trace_check/summary. These endpoints allow users to retrieve trace check failures, clear trace check failures, and get trace check summary results respectively.
  • Remote config requests are now returned via /test/session/requests.

Upgrade Notes

  • Checks have been changed to opt-in. In order to maintain current functionality users should update either their command or their environment. ENABLED_CHECKS=trace_count_header,meta_tracer_version_header,trace_content_length or --enabled-checks=trace_count_header,meta_tracer_version_header,trace_content_length

Deprecation Notes

  • DISABLED_CHECKS and --disabled-checks have been removed in favor of making checks opt-in.

1.10.1

05 Jun 20:14
a054991
Compare
Choose a tag to compare

Bug Fixes

  • Fix message length for remote config requests.