-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Origin Detection: Send both container ID and entity ID #241
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wdhif
reviewed
May 10, 2024
src/test/java/com/timgroup/statsd/NonBlockingStatsDClientTest.java
Outdated
Show resolved
Hide resolved
wdhif
reviewed
May 10, 2024
src/test/java/com/timgroup/statsd/NonBlockingStatsDClientTest.java
Outdated
Show resolved
Hide resolved
wdhif
approved these changes
May 10, 2024
Co-authored-by: Wassim Dhif <[email protected]>
vickenty
reviewed
Jun 5, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please summarize difference in behavior in the PR description? Does the behavior depend on the agent version?
Is there a way to get old behavior? I see it mentioned on the other PRs, will it be applicable here? Might be nice to mention this too.
src/test/java/com/timgroup/statsd/NonBlockingStatsDClientTest.java
Outdated
Show resolved
Hide resolved
vickenty
approved these changes
Jun 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
We would like customers to be able to retrieve container tags even when DD_ENTITY_ID is set. The current behavior does not send the container-id if the entity id is set.
This PR implements the same changes seen in these PRs:
DataDog/datadog-go#300
DataDog/datadogpy#828
Background
UDP support for origin detection was first introduced in
7.51
However it was difficult to use due to the combination of settings required. With 7.54+ you can enableDD_ORIGIN_DETECTION_UNIFIED
and it will "just work".After this change with
DD_ORIGIN_DETECTION_UNIFIED
users can control origin tags by simply changing thecardinality
setting (tohigh
for container level tags). This PR ultimately helps conform to the new origin detection architecture in the agent: Clients should send "Everything" (all data needed for origin detection), the agent should ingest everything, and cardinality controls which tags actually get sent.The old behavior is maintained by omitting the
DD_ORIGIN_DETECTION_UNIFIED
in the agent which will cause the tagger to fall back to legacy mode. This will eventually be removed.