UNPKG

newrelic-nestjs-instrumentation

Version:

Comprehensive New Relic instrumentation for NestJS applications - SQS, Kafka, HTTP/2, cron jobs and custom protocols

11 lines (10 loc) 505 B
import { NestInterceptor, ExecutionContext, CallHandler } from '@nestjs/common'; import { InternalContext } from './internal'; import EventEmitter from 'events'; export declare class NewRelicInterceptor implements NestInterceptor { private readonly customContext; private readonly emitter; constructor(customContext: InternalContext, emitter: EventEmitter); intercept(context: ExecutionContext, next: CallHandler): import("rxjs").Observable<any>; private readonly finishTransaction; }