Skip to content

generic proxy: only create child span if the spawnUpstreamSpan return true#32167

Merged
wbpcode merged 1 commit intoenvoyproxy:mainfrom
wbpcode:fix-tracing
Feb 6, 2024
Merged

generic proxy: only create child span if the spawnUpstreamSpan return true#32167
wbpcode merged 1 commit intoenvoyproxy:mainfrom
wbpcode:fix-tracing

Conversation

@wbpcode
Copy link
Copy Markdown
Member

@wbpcode wbpcode commented Feb 2, 2024

Commit Message: generic proxy: only create child span if the spawnUpstreamSpan return true
Additional Description:

Not all tracers require dual-spans. This patch fix a minor bug of generic proxy tracing where always create the upstream span for the upstream request.

Risk Level: low.
Testing: n/a.
Docs Changes: n/a.
Release Notes: n/a.
Platform Specific Features: n/a.

… true

Signed-off-by: wbpcode <wbphub@live.com>
@wbpcode wbpcode merged commit 5cf82f5 into envoyproxy:main Feb 6, 2024
@wbpcode wbpcode deleted the fix-tracing branch February 6, 2024 14:40
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