newrelic-nestjs-instrumentation
Version:
Comprehensive New Relic instrumentation for NestJS applications - SQS, Kafka, HTTP/2, cron jobs and custom protocols
9 lines (8 loc) • 385 B
TypeScript
import newrelic from 'newrelic';
export declare class InternalContext {
private get store();
get customTransactionId(): string | undefined;
setCustomTransaction(newTransaction: newrelic.TransactionHandle, traceData: newrelic.TraceMetadata): void;
get transaction(): newrelic.TransactionHandle | undefined;
}
export declare const customNewrelicContext: InternalContext;