-
Notifications
You must be signed in to change notification settings - Fork 135
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
[CONTINT-3864] Send both origin the container-id and the ENTITY_ID #300
Conversation
@@ -886,9 +886,6 @@ func (c *Client) Close() error { | |||
// - o.originDetection is explicitly set to false, which is true by default | |||
func isOriginDetectionEnabled(o *Options) bool { | |||
if !o.originDetection || o.containerID != "" { | |||
// originDetection is explicitly disabled | |||
// or DD_ENTITY_ID was found |
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.
nit: I would have left the rest of the comment but that's not a blocker.
Links to DataDog/datadogpy#828 |
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.
LGTM
642c790
to
8c18762
Compare
/merge |
🚂 MergeQueue This merge request is not mergeable yet, because of pending checks/missing approvals. It will be added to the queue as soon as checks pass and/or get approvals. Use |
🚂 MergeQueue Pull request added to the queue. This build is going to start soon! (estimated merge in less than 0s) Use |
/merge |
🚂 MergeQueue Pull request added to the queue. This build is going to start soon! (estimated merge in less than 0s) Use |
We would like customers to be able to retrieve container tags even when
DD_ENTITY_ID
is set to false. The current behavior does not send the container-id if the entity id is set.Note that the admission controller will set the container-id on Kubernetes.
For those who do not want container-tags, several alternatives are possible:
dd.internal.card=none
DD_ORIGIN_DETECTION_ENABLED=false
to the application podSee this doc for reference