File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
packages/ember/addon/instance-initializers Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -176,6 +176,7 @@ export function _instrumentEmberRouter(
176176 } ,
177177 op : 'ui.ember.transition' ,
178178 name : `route:${ fromRoute } -> route:${ toRoute } ` ,
179+ onlyIfParent : true ,
179180 } ) ;
180181 } ) ;
181182
@@ -237,6 +238,7 @@ function _instrumentEmberRunloop(config: EmberSentryConfig): void {
237238 name : 'runloop' ,
238239 op : `ui.ember.runloop.${ queue } ` ,
239240 startTimestamp : currentQueueStart ,
241+ onlyIfParent : true ,
240242 } ) ?. end ( now ) ;
241243 }
242244 currentQueueStart = undefined ;
@@ -310,6 +312,7 @@ function processComponentRenderAfter(
310312 op,
311313 origin : 'auto.ui.ember' ,
312314 startTimestamp : begin . now ,
315+ onlyIfParent : true ,
313316 } ) ?. end ( now ) ;
314317 }
315318}
@@ -394,6 +397,7 @@ function _instrumentInitialLoad(config: EmberSentryConfig): void {
394397 attributes : {
395398 [ SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ] : 'auto.ui.ember' ,
396399 } ,
400+ onlyIfParent : true ,
397401 startTimestamp,
398402 } ) ?. end ( endTimestamp ) ;
399403 performance . clearMarks ( startName ) ;
You can’t perform that action at this time.
0 commit comments