Automatic BullMQ instrumentation and other improvements
Automatic BullMQ instrumentation
Add BullMQ support through the @appsignal/opentelemetry-instrumentation-bullmq
instrumentation. AppSignal will automatically instrument the use of BullMQ in your application.
Calls to functions that enqueue jobs, such as Queue.add and others, will be instrumented as an event in the event timeline for the performance sample in which it takes place.
When a BullMQ Worker processes a job, this will result in a performance sample in the background namespace.
Added
- Add basic OpenTelemetry messaging support. This adds support for any OpenTelemetry instrumentation that complies with the OpenTelemetry Semantic Conventions specification for messaging.
Changed
-
Rename the
hostname
tag, which contains the host of the URI that an HTTP request was made against, torequest_host
. This fixes an issue where the hostname tag would later be internally overriden to the hostname of the machine processing the request, but notifications would still be emitted containing the previous hostname value. -
Improve the amqlib instrumentation by parsing it like other messaging spans following the OpenTelemetry messaging spec.
Fixed
- Fix an issue where Redis events are misidentified as HTTP events.
View the Node.js package v3.4.5 changelog for more information.