Ddapm-test-agent

Latest version: v1.20.0

Safety actively analyzes 688724 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

1.20.0

New Features

- Added a /test/settings endpoint to change the settings on the fly. It takes a json encoded list of key/values, that will be applied to the app dict. Example: { "trace\_request\_delay": 5 }
- \--trace-request-delay now also affects telemetry requests. The delay can be set independently for each request by setting the X-Datadog-Test-Stall-Seconds header.

1.19.0

New Features

- Add <span class="title-ref">Datadog-Agent-State</span> header to <span class="title-ref">/info</span> endpoint.

1.18.0

New Features

- Add <span class="title-ref">peer_tags</span> field to <span class="title-ref">/info</span> endpoint for testing client side stats.
- Add support for parsing the <span class="title-ref">meta_struct</span> field in traces. This field just like the <span class="title-ref">meta</span> field map but the values are arbitrary inner msgpack-encoded values. When the <span class="title-ref">meta_struct</span> field is present, its inner messages will be parsed and added to the trace as a dictionary.
- Add support for v0.7 traces.

1.17.0

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 <span class="title-ref">client</span> 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

New Features

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

1.15.0

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.

Page 1 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.