import type { InstrumentationConfig } from '@opentelemetry/instrumentation'; import { InstrumentationBase, InstrumentationNodeModuleDefinition } from '@opentelemetry/instrumentation'; /** * Custom instrumentation for nestjs bullmq module. * * This hooks into the `@Processor` class decorator, which is applied on queue processor classes. * It wraps the `process` method on the decorated class to fork the isolation scope for each job * invocation, create a span, and capture errors. */ export declare class SentryNestBullMQInstrumentation extends InstrumentationBase { constructor(config?: InstrumentationConfig); /** * Initializes the instrumentation by defining the modules to be patched. */ init(): InstrumentationNodeModuleDefinition; /** * Wraps the @Processor decorator. */ private _getProcessorFileInstrumentation; /** * Creates a wrapper function for the @Processor class decorator. */ private _createWrapProcessor; } //# sourceMappingURL=sentry-nest-bullmq-instrumentation.d.ts.map