Commit ef7e5b6
authored
fix(tracing): Report dropped spans for transactions (#12751)
We already report a client report for dropped standalone spans. However,
so far we did not report any for spans dropped for transactions.
This PR also emits a client report when `beforeSendSpan` is used to
filter a span of a transaction, as well as when the whole transaction is
dropped in `beforeSendTransaction`.
For now, we _do not_ emit this if users manually drop single spans in
e.g. `beforeSendTransaction`, which I'd say is OK for now.
Closes #127271 parent 506e6ca commit ef7e5b6
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
789 | 789 | | |
790 | 790 | | |
791 | 791 | | |
792 | | - | |
| 792 | + | |
793 | 793 | | |
794 | 794 | | |
795 | 795 | | |
796 | 796 | | |
797 | 797 | | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
798 | 804 | | |
799 | 805 | | |
800 | 806 | | |
| |||
914 | 920 | | |
915 | 921 | | |
916 | 922 | | |
| 923 | + | |
917 | 924 | | |
918 | 925 | | |
919 | 926 | | |
| |||
931 | 938 | | |
932 | 939 | | |
933 | 940 | | |
| 941 | + | |
| 942 | + | |
934 | 943 | | |
935 | 944 | | |
936 | 945 | | |
| |||
0 commit comments