Commit 2df9e1a
authored
ref(tracing): Restore ability to have tracing disabled (getsentry#991)
This partially reverts
getsentry#948
and
getsentry@6fc2287,
to restore the ability to disable tracing, which allows it to truly be opt-in as per the spec, which is detailed here:
https://develop.sentry.dev/sdk/performance/#sdk-configuration).
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.1 parent 0be96f0 commit 2df9e1a
2 files changed
+21
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
583 | 583 | | |
584 | 584 | | |
585 | 585 | | |
586 | | - | |
587 | | - | |
588 | | - | |
589 | | - | |
590 | | - | |
591 | 586 | | |
592 | 587 | | |
| 588 | + | |
593 | 589 | | |
594 | 590 | | |
595 | 591 | | |
596 | 592 | | |
597 | | - | |
598 | | - | |
| 593 | + | |
| 594 | + | |
599 | 595 | | |
600 | 596 | | |
601 | 597 | | |
602 | | - | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
603 | 602 | | |
604 | 603 | | |
605 | 604 | | |
| |||
663 | 662 | | |
664 | 663 | | |
665 | 664 | | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
666 | 678 | | |
667 | 679 | | |
668 | 680 | | |
| |||
0 commit comments