-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Not sure if custom Queue Events are supposed to work with OT/Jaeger or not, but right now I don't see anything (though the custom event stream is working).
Producer side:
const { QueueEventsProducer } = require("bullmq");
const { BullMQOtel } = require("bullmq-otel");
const queueEventsProducer = new QueueEventsProducer("custom", {
telemetry: new BullMQOtel('simple-guide'),
connection : dotEnv.$.redis.connection
});
queueEventsProducer.publishEvent({
eventName: "customExample",
custom: 'value1'
})Consumer side:
const { QueueEvents } = require("bullmq");
const { BullMQOtel } = require("bullmq-otel");
const queueEvents = new QueueEvents("custom", {
telemetry: new BullMQOtel('simple-guide'),
connection : dotEnv.$.redis.connection
});
queueEvents.on('customExample', async ({ custom }) => {
console.log("custom",custom);
});Output from consumer is custom value1 as expected but Jaeger doesn't show anything (OT overlay & Jaeger are working for standard queue.add and worker).
Metadata
Metadata
Assignees
Labels
No labels