Integrations

Bull Integration

Connect Queuedash to your Bull queues.

Bull is a popular Redis-based queue. The SDK auto-detects Bull queues and streams events.

Attach a queue

import Queue from "bull";
import { Queuedash } from "@queuedash/sdk";
 
const qd = new Queuedash({
  apiKey: process.env.QUEUEDASH_API_KEY,
});
 
// Initialize your queue and attach it
const myQueue = new Queue("my-queue", "redis://localhost:6379");
 
qd.attach(myQueue); // that's it

Multiple queues

import Queue from "bull";
import { Queuedash } from "@queuedash/sdk";
 
const redisUrl = "redis://localhost:6379";
 
const qd = new Queuedash({
  apiKey: process.env.QUEUEDASH_API_KEY,
});
 
qd.attach(new Queue("emails", redisUrl));
qd.attach(new Queue("reports", redisUrl));
qd.attach(new Queue("notifications", redisUrl));

Tracked events

  • active, progress
  • completed, failed
  • removed

Migrating to BullMQ

Queuedash works across both libraries. Update your queue library to BullMQ and keep qd.attach(myQueue)—your historical data stays intact.