Skip to content

ref(tracing): Restore ability to have tracing disabled#991

Merged
lobsterkatie merged 1 commit into
masterfrom
kmclb-reenable-disabling-tracing
Feb 1, 2021
Merged

ref(tracing): Restore ability to have tracing disabled#991
lobsterkatie merged 1 commit into
masterfrom
kmclb-reenable-disabling-tracing

Conversation

@lobsterkatie

@lobsterkatie lobsterkatie commented Jan 29, 2021

Copy link
Copy Markdown
Member

This PR partially reverts #948 and 6fc2287, to restore the ability to disable tracing, which allows it to truly be opt-in as per the spec.

Note that this does not change the behavior that PR was made to reinstate - the model wherein the front end makes sampling decisions, the backend has traces_sample_rate set to 0, and the result is that the backend samples according to the front end decision when there is one, but otherwise does not send transactions. (That PR modified a test to test for that exact scenario, and it still passes.)

@lobsterkatie
lobsterkatie force-pushed the kmclb-reenable-disabling-tracing branch from 3ba1a93 to 2327fa7 Compare January 29, 2021 21:38

@ahmedetefy ahmedetefy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

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