Skip to content

[bp/1.27] datadog: fix names in Span::spawnChild#31593

Merged
phlax merged 2 commits intoenvoyproxy:release/v1.27from
DataDog:david.goffredo/backport-v1.27-datadog-fix-names-in-spawn-child
Jan 4, 2024
Merged

[bp/1.27] datadog: fix names in Span::spawnChild#31593
phlax merged 2 commits intoenvoyproxy:release/v1.27from
DataDog:david.goffredo/backport-v1.27-datadog-fix-names-in-spawn-child

Conversation

@dgoffredo
Copy link
Copy Markdown
Contributor

This is a backport of #31366 onto the v1.27 release branch.

These changes fix a bug in the Datadog tracing extension. Previously, Span::spawnChild would produce spans whose "operation name" had the value of what should instead be the "resource name." With these changes, setting the "operation name" sets the "resource name" instead, and the "operation name" is always the hard-coded value "envoy.proxy".

Signed-off-by: David Goffredo <david.goffredo@datadoghq.com>
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.

@dgoffredo could you please include the changelog - its even more important on the release branches

@phlax phlax self-assigned this Jan 3, 2024
Signed-off-by: David Goffredo <david.goffredo@datadoghq.com>
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 @dgoffredo

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.

2 participants