File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Expand file tree Collapse file tree 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 => {
8181 const isRoot = this . $root === this ;
8282
8383 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+ } ) ;
9694 }
9795
9896 // 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