Skip to content

[Backport 1.26] tracing: fix Datadog span name (#29932)#30182

Merged
phlax merged 1 commit intoenvoyproxy:release/v1.26from
florianmutter:tracing-fix-datadog-name-1-26
Oct 13, 2023
Merged

[Backport 1.26] tracing: fix Datadog span name (#29932)#30182
phlax merged 1 commit intoenvoyproxy:release/v1.26from
florianmutter:tracing-fix-datadog-name-1-26

Conversation

@florianmutter
Copy link
Copy Markdown

Commit Message:

tracing: fix Datadog span name
Backport c3646f9 to 1.26

Additional testing:
Also, I ran the sources/extensions/tracers/datadog/demo both with and without these changes. Verified that the produced span's "operation name" before these changes is not as desired. Verified that the produced span's "operation name" after these changes is as desired.

Desired: "Operation name" is "envoy.proxy", and "resource name" is the operation_name passed to startSpan.

Risk Level: low
Testing: See the modified unit test.
Docs Changes: n/a
Release Notes: updated

Backport c3646f9 to 1.26

Additional testing:
Also, I ran the sources/extensions/tracers/datadog/demo both with and without these changes. Verified that the produced span's "operation name" before these changes is not as desired. Verified that the produced span's "operation name" after these changes is as desired.

Desired: "Operation name" is "envoy.proxy", and "resource name" is the operation_name passed to startSpan.

Risk Level: low
Testing: See the modified unit test.
Docs Changes: n/a
Release Notes: updated
Signed-off-by: David Goffredo <david.goffredo@datadoghq.com>
@repokitteh-read-only
Copy link
Copy Markdown

Hi @florianmutter, welcome and thank you for your contribution.

We will try to review your Pull Request as quickly as possible.

In the meantime, please take a look at the contribution guidelines if you have not done so already.

🐱

Caused by: #30182 was opened by florianmutter.

see: more, trace.

@phlax phlax self-assigned this Oct 13, 2023
@phlax phlax added this to the 1.26.6 milestone Oct 13, 2023
@phlax
Copy link
Copy Markdown
Member

phlax commented Oct 13, 2023

thanks for raising this @florianmutter would you be able to do similar for 1.24,1.25, and 1.27 (if affected) ?

@phlax
Copy link
Copy Markdown
Member

phlax commented Oct 13, 2023

cc @dgoffredo

@florianmutter
Copy link
Copy Markdown
Author

thanks for raising this @florianmutter would you be able to do similar for 1.24,1.25, and 1.27 (if affected) ?

I think only 1.27 is also affected. Will create a PR as well

@florianmutter
Copy link
Copy Markdown
Author

Backport for 1.27 here: #30186

Copy link
Copy Markdown
Member

@phlax phlax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thanks @florianmutter

@phlax phlax merged commit d5087b6 into envoyproxy:release/v1.26 Oct 13, 2023
@florianmutter florianmutter deleted the tracing-fix-datadog-name-1-26 branch October 13, 2023 12:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants