Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add propagate_unsampled field to trace config #38223

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

wtzhang23
Copy link
Contributor

@wtzhang23 wtzhang23 commented Jan 28, 2025

Commit Message: add propagate_unsampled field to trace config
Additional Description:
This PR prevents Span implementations from modifying the existing trace context by not constructing them if propagate_unsampled=true
Risk Level: Medium
Testing: Unit tests
Docs Changes: inline in proto
Release Notes: Added
Platform Specific Features: N/A
Fixes #38222

Copy link

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #38223 was opened by wtzhang23.

see: more, trace.

Copy link

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/).
envoyproxy/api-shepherds assignee is @markdroth
CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).

🐱

Caused by: #38223 was opened by wtzhang23.

see: more, trace.

@wtzhang23 wtzhang23 changed the title Add propagate_unsampled field Add propagate_unsampled field to trace config Jan 28, 2025
@wtzhang23 wtzhang23 force-pushed the transparent-tracing branch from 84872bb to 3bd518d Compare January 28, 2025 07:46
@wtzhang23 wtzhang23 force-pushed the transparent-tracing branch from 3bd518d to 40a3361 Compare January 28, 2025 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow preserving existing trace context when not sampling
2 participants