Skip to content

Commit

Permalink
Add agent state header to info endpoint (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
VianneyRuhlmann authored Sep 17, 2024
1 parent cf75054 commit a8925a5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ddapm_test_agent/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,8 @@ async def handle_info(self, request: Request) -> web.Response:
"client_drop_p0s": True,
# Just a random selection of some peer_tags to aggregate on for testing, not exhaustive
"peer_tags": ["db.name", "mongodb.db", "messaging.system"],
}
},
headers={"Datadog-Agent-State": "03e868b3ecdd62a91423cc4c3917d0d151fb9fa486736911ab7f5a0750c63824"},
)

async def _handle_traces(self, request: Request, version: Literal["v0.4", "v0.5", "v0.7"]) -> web.Response:
Expand Down
4 changes: 4 additions & 0 deletions releasenotes/notes/addAgentStateToInfo-f9a179ce88f2ab9e.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
features:
- |
Agent-State-Header` to `/info` endpoint.

0 comments on commit a8925a5

Please sign in to comment.