UNPKG

@opentelemetry/instrumentation-runtime-node

Version:
17 lines 675 B
import type { Attributes } from '@opentelemetry/api'; import type { InstrumentationConfig } from '@opentelemetry/instrumentation'; export interface RuntimeNodeInstrumentationConfig extends InstrumentationConfig { monitoringPrecision?: number; /** * Capture uncaught exceptions via process 'uncaughtExceptionMonitor' event. * Disabled by default. * @experimental */ captureUncaughtException?: boolean; /** * Add custom attributes to the emitted exception log records. * @experimental */ applyCustomExceptionAttributes?: (error: unknown, eventType: 'uncaughtException') => Attributes; } //# sourceMappingURL=types.d.ts.map