Skip to content

[Backport 1.27] tracing: fix Datadog span name (#29932)#30186

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

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

Conversation

@florianmutter
Copy link
Copy Markdown

Commit Message:

tracing: fix Datadog span name
Backport c3646f9 to 1.27

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.27

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: #30186 was opened by florianmutter.

see: more, trace.

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 enabled auto-merge (squash) October 13, 2023 12:09
@phlax phlax disabled auto-merge October 13, 2023 12:10
@phlax phlax enabled auto-merge (squash) October 13, 2023 12:10
@phlax
Copy link
Copy Markdown
Member

phlax commented Oct 13, 2023

cc @dgoffredo

@phlax phlax merged commit 86f79e7 into envoyproxy:release/v1.27 Oct 13, 2023
@florianmutter florianmutter deleted the tracing-fix-datadog-name-1-27 branch October 13, 2023 17:35
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