UNPKG

testing-amplication-opentelemetry-nestjs

Version:

Testing OpenTelemetry module for Nestjs with auto instrumentation and resource detection. Initially forked from https://github.com/overbit/opentelemetry-nestjs.git

8 lines (7 loc) 299 B
import { BeforeApplicationShutdown } from '@nestjs/common'; import { NodeSDK } from '@opentelemetry/sdk-node'; export declare class OpenTelemetryService implements BeforeApplicationShutdown { private readonly sdk; constructor(sdk: NodeSDK); beforeApplicationShutdown(): Promise<void>; }