Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ddapm_test_agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ async def handle_settings(self, request: Request) -> web.Response:
async def handle_info(self, request: Request) -> web.Response:
return web.json_response(
{
"version": "test",
"version": os.environ.get("TEST_AGENT_VERSION", "test"),
"endpoints": [
"/v0.4/traces",
"/v0.5/traces",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
features:
- |
Add support for controlling the test agent version via the TEST_AGENT_VERSION environment variable. The version is returned in the /info endpoint response.
Loading