UNPKG

newrelic-nestjs-instrumentation

Version:

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

6 lines (5 loc) 287 B
import newrelic from 'newrelic'; export declare function startUnhandledNewrelicTransaction(transactionName: string, type?: 'web' | 'background', customCB?: (transaction: newrelic.TransactionHandle) => void): { transaction?: newrelic.TransactionHandle; transactionId?: string; };