Datadog: restore "resource.name" tag#30503
Merged
mattklein123 merged 2 commits intoOct 25, 2023
Merged
Conversation
Signed-off-by: David Goffredo <david.goffredo@datadoghq.com>
- support rootless docker for the Datadog Agent in docker-compose.yaml - find envoy-static in bazel-bin/ instead of using `bazelisk info bazel-genfiles` Signed-off-by: David Goffredo <david.goffredo@datadoghq.com>
a9f4168 to
211117c
Compare
mattklein123
approved these changes
Oct 25, 2023
Contributor
Author
|
Thanks @mattklein123!
Can we get this tagged for review? |
Contributor
|
Hi @mattklein123 and @dgoffredo. Thanks for picking this PR up. We observed that it was not part of the recent 1.28 release. Is there a plan to backport this fix into previous Envoy versions? |
Contributor
Author
|
I would like for this PR to be reviewed for backporting as a bug fix onto v1.27 and v1.28. @mattklein123, how do I start that process? |
Smeb
pushed a commit
to Smeb/envoy
that referenced
this pull request
Nov 15, 2023
Signed-off-by: David Goffredo <david.goffredo@datadoghq.com>
Smeb
pushed a commit
to Smeb/envoy
that referenced
this pull request
Nov 15, 2023
Signed-off-by: David Goffredo <david.goffredo@datadoghq.com>
This was referenced Nov 15, 2023
htuch
pushed a commit
that referenced
this pull request
Nov 16, 2023
htuch
pushed a commit
that referenced
this pull request
Nov 16, 2023
This is the backport of #30503 Risk Level: low Testing: local unit tests Docs Changes: n/a Release Notes: n/a Platform Specific Features: n/a Fixes: #30235 Signed-off-by: David Goffredo <david.goffredo@datadoghq.com> Signed-off-by: Ben Ryves <smeb@gmail.com> Co-authored-by: David Goffredo <david.goffredo@datadoghq.com> Co-authored-by: Ben Ryves <smeb@gmail.com>
SeanKilleen
pushed a commit
to SeanKilleen/envoy
that referenced
this pull request
Apr 3, 2024
…voyproxy#30893) This is the backport of envoyproxy#30503 Risk Level: low Testing: local unit tests Docs Changes: n/a Release Notes: n/a Platform Specific Features: n/a Fixes: envoyproxy#30235 Signed-off-by: David Goffredo <david.goffredo@datadoghq.com> Signed-off-by: Ben Ryves <smeb@gmail.com> Co-authored-by: David Goffredo <david.goffredo@datadoghq.com> Co-authored-by: Ben Ryves <smeb@gmail.com> Signed-off-by: Sean Killeen <SeanKilleen@gmail.com>
This file contains hidden or 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
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.
These changes restore the Dataodog tracer's ability to set the Datadog notion of span "resource name" by setting a special tag named "resource.name".
This was previously possible with the OpenTracing-based implementation of Datadog tracing, but I removed the capability when I moved Envoy's Datadog extension away from OpenTracing.
It turns out that customers were using this feature. This pull request restores it.
Please consider backporting this revision as a bug fix once it is merged.
Testing
I modified some existing unit tests.
Also, by applying the patch below, I used the Datadog "demo" with a local build of Envoy to verify that a
request_header-based custom tag for the tag "resource.name" really does result in a change to the resource name:Commit Message: restore ability to set resource name by tag in Datadog tracer
Additional Description:
Risk Level: low
Testing: See modified unit tests. Also performed manual integration testing with the Datadog "demo."
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]