In the same fashion we support telemetry in BullMQ open source edition, we also support telemetry for BullMQ Pro. It works basically the same, in fact you can just the same integrations available for BullMQ in the Pro version. So in order to enable it you would do something like this:
import { QueuePro } from '@taskforcesh/bullmq-pro';
import { BullMQOtel } from 'bullmq-otel';
// Initialize a Pro queue using BullMQ-Otel
const queue = new QueuePro('myProQueue', {
connection,
telemetry: new BullMQOtel('guide'),
});
await queue.add(
'myJob',
{ data: 'myData' },
{
attempts: 2,
backoff: 1000,
group: {
id: 'myGroupId',
},
},
);