File tree 1 file changed +10
-12
lines changed
1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -81,18 +81,16 @@ export const createTracingMixins = (options: TracingOptions): Mixins => {
81
81
const isRoot = this . $root === this ;
82
82
83
83
if ( isRoot ) {
84
- const activeSpan = getActiveSpan ( ) ;
85
- if ( activeSpan ) {
86
- this . $_sentryRootSpan =
87
- this . $_sentryRootSpan ||
88
- startInactiveSpan ( {
89
- name : 'Application Render' ,
90
- op : `${ VUE_OP } .render` ,
91
- attributes : {
92
- [ SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ] : 'auto.ui.vue' ,
93
- } ,
94
- } ) ;
95
- }
84
+ this . $_sentryRootSpan =
85
+ this . $_sentryRootSpan ||
86
+ startInactiveSpan ( {
87
+ name : 'Application Render' ,
88
+ op : `${ VUE_OP } .render` ,
89
+ attributes : {
90
+ [ SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ] : 'auto.ui.vue' ,
91
+ } ,
92
+ onlyIfParent : true ,
93
+ } ) ;
96
94
}
97
95
98
96
// Skip components that we don't want to track to minimize the noise and give a more granular control to the user
You can’t perform that action at this time.
0 commit comments