Skip to content

feat(tracing): Add tracestate feature flag #1182

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

Conversation

lobsterkatie
Copy link
Member

@lobsterkatie lobsterkatie commented Sep 2, 2021

This PR adds a feature flag, "propagate_tracestate", to _experiments, which enables the tracestate header handling behavior.

In particular, if the flag is False or missing:

  • tracestate headers won't be attached to outgoing HTTP requests, and
  • trace data will not be added to envelope headers.

@jan-auer jan-auer requested a review from untitaker September 3, 2021 07:26
@lobsterkatie lobsterkatie merged commit 53de6aa into kmclb-add-tracestate-header-handling Sep 7, 2021
@lobsterkatie lobsterkatie deleted the kmclb-add-tracestate-feature-flag branch September 7, 2021 22:07
lobsterkatie added a commit that referenced this pull request Sep 13, 2021
This adds a feature flag, `"propagate_tracestate"`, to `_experiments`, which enables the tracestate header handling behavior.

In particular, if the flag is `False` or missing:

- `tracestate` headers won't be attached to outgoing HTTP requests, and
- `trace` data will not be added to envelope headers.
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