Features
OpenTelemetry Instrumentation (experimental)
@boringnode/queue now ships with built-in OpenTelemetry instrumentation that creates PRODUCER spans for job dispatch and CONSUMER spans for job execution, following OTel messaging semantic conventions.
import { QueueInstrumentation } from '@boringnode/queue/otel'
import * as boringqueue from '@boringnode/queue'
const instrumentation = new QueueInstrumentation({
messagingSystem: 'boringqueue',
executionSpanLinkMode: 'link', // or 'parent'
})
instrumentation.enable()
instrumentation.manuallyRegister(boringqueue)Warning
This is experimental — the API may change in future releases.
Scheduler: custom payload with manual trigger
Schedule.trigger() now accepts an optional payload, allowing you to pass custom data when manually triggering a scheduled job.
What's Changed
- feat(scheduler): allow custom payload with manual trigger by @kerwanp in #7
- feat: add experimental otel instrumentation by @Julien-R44 in #8
New Contributors
- @kerwanp made their first contribution in #7
- @Julien-R44 made their first contribution in #8
Full Changelog: v0.5.0...v0.5.1