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(
176
176
} ,
177
177
op : 'ui.ember.transition' ,
178
178
name : `route:${ fromRoute } -> route:${ toRoute } ` ,
179
+ onlyIfParent : true ,
179
180
} ) ;
180
181
} ) ;
181
182
@@ -237,6 +238,7 @@ function _instrumentEmberRunloop(config: EmberSentryConfig): void {
237
238
name : 'runloop' ,
238
239
op : `ui.ember.runloop.${ queue } ` ,
239
240
startTimestamp : currentQueueStart ,
241
+ onlyIfParent : true ,
240
242
} ) ?. end ( now ) ;
241
243
}
242
244
currentQueueStart = undefined ;
@@ -310,6 +312,7 @@ function processComponentRenderAfter(
310
312
op,
311
313
origin : 'auto.ui.ember' ,
312
314
startTimestamp : begin . now ,
315
+ onlyIfParent : true ,
313
316
} ) ?. end ( now ) ;
314
317
}
315
318
}
@@ -394,6 +397,7 @@ function _instrumentInitialLoad(config: EmberSentryConfig): void {
394
397
attributes : {
395
398
[ SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ] : 'auto.ui.ember' ,
396
399
} ,
400
+ onlyIfParent : true ,
397
401
startTimestamp,
398
402
} ) ?. end ( endTimestamp ) ;
399
403
performance . clearMarks ( startName ) ;
You can’t perform that action at this time.
0 commit comments