@@ -84,6 +84,7 @@ export class TraceService implements OnDestroy {
8484 if ( this . _routingSpan ) {
8585 this . _routingSpan . end ( ) ;
8686 }
87+ // eslint-disable-next-line deprecation/deprecation
8788 this . _routingSpan = activeTransaction . startChild ( {
8889 description : `${ navigationEvent . url } ` ,
8990 op : ANGULAR_ROUTING_OP ,
@@ -183,6 +184,7 @@ export class TraceDirective implements OnInit, AfterViewInit {
183184
184185 const activeTransaction = getActiveTransaction ( ) ;
185186 if ( activeTransaction ) {
187+ // eslint-disable-next-line deprecation/deprecation
186188 this . _tracingSpan = activeTransaction . startChild ( {
187189 description : `<${ this . componentName } >` ,
188190 op : ANGULAR_INIT_OP ,
@@ -225,6 +227,7 @@ export function TraceClassDecorator(): ClassDecorator {
225227 target . prototype . ngOnInit = function ( ...args : any [ ] ) : ReturnType < typeof originalOnInit > {
226228 const activeTransaction = getActiveTransaction ( ) ;
227229 if ( activeTransaction ) {
230+ // eslint-disable-next-line deprecation/deprecation
228231 tracingSpan = activeTransaction . startChild ( {
229232 description : `<${ target . name } >` ,
230233 op : ANGULAR_INIT_OP ,
@@ -262,6 +265,7 @@ export function TraceMethodDecorator(): MethodDecorator {
262265 const now = timestampInSeconds ( ) ;
263266 const activeTransaction = getActiveTransaction ( ) ;
264267 if ( activeTransaction ) {
268+ // eslint-disable-next-line deprecation/deprecation
265269 activeTransaction . startChild ( {
266270 description : `<${ target . constructor . name } >` ,
267271 endTimestamp : now ,
0 commit comments