bullmq icon indicating copy to clipboard operation
bullmq copied to clipboard

Use Otel semantic conventions for attributes

Open clintonb opened this issue 11 months ago • 1 comments

Is your feature request related to a problem? Please describe. N/A

Describe the solution you'd like Use OpenTelemetry's semantic conventions for messaging. This ensures consistency with other messaging systems, and (more importantly) enables UI/UX features in tooling such as Datadog (as captured below).

Screenshot 2024-12-30 at 2 27 53 PM

Describe alternatives you've considered I am sticking with https://github.com/appsignal/opentelemetry-instrumentation-bullmq for now since using bullmq-otel would require me to update queries and charts. That library follows semantic conventions: https://github.com/appsignal/opentelemetry-instrumentation-bullmq/blob/main/src/attributes.ts.

Additional context Add any other context or screenshots about the feature request here.

clintonb avatar Dec 30 '24 22:12 clintonb

I think the important here is that bullmq-otel adheres to Otel conventions, but having a generic naming of attributes that is not tied specifically to Otel in BullMQ as we want our telemetry interface to be generic and not hard tied to Otel.

manast avatar Dec 31 '24 09:12 manast