Installation
For BullMQ versions 5 and below, the BullMQ package is instrumented automatically by the AppSignal for Node.js package. For BullMQ version 6, see the installation and configuration instructions in the following section. If you run your workers as separate processes, make sure to also usenode --require appsignal.cjs ... when starting the worker processes, so that AppSignal can instrument the workers’ job processing.
BullMQ 6 installation and configuration
BullMQ version 6 is not instrumented automatically. It reports through BullMQ’s own telemetry instead, which requires installing thebullmq-otel package:
BullMQOtel instance as the telemetry option to each queue and worker:
tracerName option when initializing BullMQOtel. AppSignal identifies these spans by their instrumentation scope, which must be bullmq.
See BullMQ’s telemetry documentation for more information.