GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(node): Add BullMQ integration by JPeer264 · Pull Request #21777 · getsentry/sentry-javascript

Conversation

@JPeer264

@JPeer264 JPeer264 commented Jun 25, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

closes #12956
closes JS-89

Description

This adds telemetry for BullMQ. It only piggybacks on the telemetry option. It has metrics, tracing with span links between producer and consumer

It can be used as following:

import * as Sentry from '@sentry/node';
import { Queue, Worker } from 'bullmq';

const telemetry = new Sentry.BullMQTelemetry();

const queue = new Queue('myQueue', {
  connection: { host: '127.0.0.1', port: 6379 },
  telemetry,
});

It is the same usage as the BullMQ OTel package: https://docs.bullmq.io/guide/telemetry/getting-started

To make this an integration the types were vendored in and based on that the integration was done.

OP decisions

The consumer spans generate queue.task where the producer emits queue.submit, this should be reflecting our span operations. I didn't use queue.task.bullmq, like it is for Celery - but this can be changed if wanted.

Sentry traces / metrics

Example metrics: https://sentry-sdks.sentry.io/explore/metrics/?end=2026-10-05T07%3A25%3A00&metric=%7B%22metric%22%3A%7B%22name%22%3A%22bullmq.jobs.completed%22%2C%22type%22%3A%22counter%22%2C%22unit%22%3A%22none%22%7D%2C%22query%22%3A%22%22%2C%22aggregateFields%22%3A%5B%7B%22yAxes%22%3A%5B%22sum%28value%2Cbullmq.jobs.completed%2Ccounter%2Cnone%29%22%5D%7D%5D%2C%22aggregateSortBys%22%3A%5B%7B%22field%22%3A%22sum%28value%2Cbullmq.jobs.completed%2Ccounter%2Cnone%29%22%2C%22kind%22%3A%22desc%22%7D%5D%2C%22sortBys%22%3A%5B%7B%22field%22%3A%22timestamp%22%2C%22kind%22%3A%22desc%22%7D%5D%2C%22mode%22%3A%22samples%22%7D&project=4510555608449024&start=2026-10-05T07%3A15%3A00

Consumer trace (queue.task span with a link to the producer): https://sentry-sdks.sentry.io/explore/traces/trace/1a21906f0d8d4db7bbf80bf9cf7d32f3/?node=span-9b305b00fd106329&project=4510555608449024&source=traces&targetId=9b305b00fd106329&timestamp=1791184722
Producer trace (GET /enqueue with a queue.submit span): https://sentry-sdks.sentry.io/explore/traces/trace/f135329fd15a440091a2ee445a8df4fc/?node=span-9db4d2c0668abe46&project=4510555608449024&source=traces&targetId=9db4d2c0668abe46&timestamp=1791184722

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@JPeer264 JPeer264 self-assigned this Jun 25, 2026
@linear-code

linear-code Bot commented Jun 25, 2026

Copy link
Copy Markdown

JS-89

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@JPeer264
JPeer264 force-pushed the jp/bullmq-queue-insights branch 2 times, most recently from 1247441 to 212f9d6 Compare June 25, 2026 10:54
@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

This pull request has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you apply the label PR: no-auto-close I will leave it alone ... forever!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added the PR: stale label Jul 16, 2026
@JPeer264 JPeer264 added PR: no-auto-close and removed PR: stale labels Jul 16, 2026
@andreiborza

andreiborza commented Sep 24, 2026

Copy link
Copy Markdown
Member

@JPeer264 can we close this? Is this still relevant?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@JPeer264

JPeer264 commented Sep 24, 2026

Copy link
Copy Markdown
Member Author

Actually I still want to ship this, it just had lower prio because of v11. I'll make this pretty next week

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@JPeer264
JPeer264 force-pushed the jp/bullmq-queue-insights branch from 212f9d6 to 589f150 Compare September 29, 2026 14:47
@github-actions

github-actions Bot commented Sep 29, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

size-limit report 📦

Compared: 9074f3d (PR test merge using develop at eff54dd)

Against: eff54dd (develop) · base run #63548

✅ Baseline matches: this diff contains only this PR's changes.

Path Size % Change Change
@sentry/browser 29.98 kB - -
@sentry/browser - with treeshaking flags 28.13 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 28.03 kB - -
@sentry/browser (incl. Tracing) 52.17 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 52.18 kB - -
@sentry/browser (incl. Tracing, Profiling) 55.12 kB - -
@sentry/browser (incl. Tracing, Replay) 91.97 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 80.86 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 96.7 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 109.64 kB - -
@sentry/browser (incl. Feedback) 47.51 kB - -
@sentry/browser (incl. sendFeedback) 35.05 kB - -
@sentry/browser (incl. FeedbackAsync) 40.15 kB - -
@sentry/browser (incl. Metrics) 31.01 kB - -
@sentry/browser (incl. Logs) 31.28 kB - -
@sentry/browser (incl. Metrics & Logs) 31.94 kB - -
@sentry/react 31.81 kB - -
@sentry/react (incl. Tracing) 54.5 kB - -
@sentry/vue 38.14 kB - -
@sentry/vue (incl. Tracing) 55.11 kB - -
@sentry/svelte 30.01 kB - -
@sentry/remix (Remix 3 client bundle) 57.19 kB - -
CDN Bundle 31.76 kB - -
CDN Bundle (incl. Tracing) 52.71 kB - -
CDN Bundle (incl. Logs, Metrics) 33.95 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 54.66 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 74.93 kB - -
CDN Bundle (incl. Tracing, Replay) 90.41 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 92.33 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 96.55 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 98.5 kB - -
CDN Bundle - uncompressed 93.51 kB - -
CDN Bundle (incl. Tracing) - uncompressed 156.36 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 100.06 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 162.33 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 230.28 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 276.71 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 282.66 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 290.41 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 296.35 kB - -
@sentry/nextjs (client) 57.38 kB - -
@sentry/sveltekit (client) 52.55 kB - -
@sentry/core/server 43.62 kB - -
@sentry/core/browser 13.81 kB - -
@sentry/node 153.77 kB -0.01% -1 B 🔽
@sentry/node/import (ESM hook with diagnostics-channel injection) 81.58 kB - -
@sentry/node - without tracing 95.32 kB - -
@sentry/node - without channel injection 134.42 kB - -
@sentry/aws-serverless 103.48 kB - -
@sentry/cloudflare (withSentry) - minified 195.52 kB - -
@sentry/cloudflare (withSentry) 486.37 kB - -
@sentry/nextjs/cloudflare (withSentry) - minified 216.19 kB - -

View base workflow run

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@JPeer264
JPeer264 force-pushed the jp/bullmq-queue-insights branch 2 times, most recently from 254e5ec to 9d58e2b Compare September 30, 2026 06:25
@JPeer264
JPeer264 marked this pull request as ready for review September 30, 2026 06:43
@JPeer264
JPeer264 requested review from a team as code owners September 30, 2026 06:43
@JPeer264
JPeer264 requested review from chargome, isaacs, mydea, nicohrubec and s1gr1d and removed request for a team, isaacs and mydea September 30, 2026 06:43
sentry[bot]
sentry Bot reviewed Sep 30, 2026
View reviewed changes
Comment thread packages/node/src/integrations/tracing/bullmq/span.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

sentry[bot]
sentry Bot reviewed Sep 30, 2026
View reviewed changes
Comment thread packages/node/src/integrations/tracing/bullmq/tracer.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

s1gr1d
s1gr1d reviewed Oct 5, 2026
View reviewed changes
Comment thread packages/node/src/integrations/tracing/bullmq/span.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/node/src/integrations/tracing/bullmq/tracer.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/node/src/integrations/tracing/bullmq/tracer.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/node/src/integrations/tracing/bullmq/tracer.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/node/src/integrations/tracing/bullmq/span.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/node/src/integrations/tracing/bullmq/tracer.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/node/src/integrations/tracing/bullmq/tracer.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread packages/node/src/integrations/tracing/bullmq/span.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

👋 @chargome, @nicohrubec — Please review this PR when you get a chance!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

JPeer264 added 14 commits October 24, 2026 16:17
@JPeer264
Prefix the BullMQ metric names with messaging.bullmq
6c9b563
@JPeer264
Use the messaging.bullmq metric names in the enableMetrics JSDoc
761114e
@JPeer264
Map the BullMQ worker ID to messaging.client.id
0f5c4ff
@JPeer264
Send the BullMQ job status as messaging.bullmq.job.state
bc0e790
@JPeer264
Leave out the deprecated bullmq.job.finished.timestamp attribute
7b4cb47
@JPeer264
Use snake_case for the multi-word BullMQ attribute keys
c7d1afa
@JPeer264
Send the BullMQ job duration as messaging.process.duration in seconds
1d6e6f1
@JPeer264
Set the error status on the process span of a failed BullMQ job
adfeb98
@JPeer264
Assert the names, status and all attributes of the BullMQ spans and m…
f455ddf
…etrics in the integration and e2e tests
@JPeer264
Use exact assertions in the BullMQ unit tests and remove the delegati…
8f1bc31
…on-only tests
@JPeer264
Skip the build script of msgpackr-extract, which bullmq installs
2c3e04e
@JPeer264
Use the BullMQ attribute constants from @sentry/conventions
56da399
@JPeer264
Remove the unnecessary type assertion for the BullMQ attributes
5230581
@JPeer264
Find the segments by name in the BullMQ integration tests
9fdf51f
@JPeer264
JPeer264 force-pushed the jp/bullmq-queue-insights branch from e4c22e7 to 9fdf51f Compare October 24, 2026 15:38
@github-actions

github-actions Bot commented Oct 24, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Optional E2E tests

Some optional checks were not successful. They do not block the merge. 3 not successful, 62 successful. See the run.

Check Status
❌ CI: Optional E2E Tests / E2E node-anthropic-send-to-sentry (latest) Test (optional) Failing after 13s Details
❌ CI: Optional E2E Tests / E2E react-router-7-framework-instrumentation Test (optional) Failing after 1m Details
❌ CI: Optional E2E Tests / E2E react-send-to-sentry Test (optional) Failing after 3m Details
Successful checks
Check Status
✅ CI: Optional E2E Tests / E2E angular (canary) Test (optional) Successful in 52s Details
✅ CI: Optional E2E Tests / E2E cloudflare-mastra Test (optional) Successful in 28s Details
✅ CI: Optional E2E Tests / E2E nextjs-14 (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E cloudflare-flue-send-to-sentry Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-mastra (latest) Test (optional) Successful in 43s Details
✅ CI: Optional E2E Tests / E2E nextjs-15 (latest) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nextjs-16-tunnel (cloudflare) Test (optional) Successful in 42s Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (vinext) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (canary, webpack) Test (optional) Successful in 4m Details
✅ CI: Optional E2E Tests / E2E cloudflare-think Test (optional) Successful in 33s Details
✅ CI: Optional E2E Tests / E2E cloudflare-workers-send-to-sentry Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E angular (canary) Test (optional) Successful in 54s Details
✅ CI: Optional E2E Tests / E2E astro-7 Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E astro-7-static Test (optional) Successful in 43s Details
✅ CI: Optional E2E Tests / E2E nextjs-15 (turbo) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E cloudflare-pi-durable Test (optional) Successful in 18s Details
✅ CI: Optional E2E Tests / E2E deno (latest) Test (optional) Successful in 55s Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (deno) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E cloudflare-think (ai v6) Test (optional) Successful in 29s Details
✅ CI: Optional E2E Tests / E2E gen-ai-libraries Test (optional) Successful in 30s Details
✅ CI: Optional E2E Tests / E2E node-eve (latest) Test (optional) Successful in 34s Details
✅ CI: Optional E2E Tests / E2E nextjs-14 (canary) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (vinext, bun) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-eve Test (optional) Successful in 38s Details
✅ CI: Optional E2E Tests / E2E debug-id-sourcemaps Test (optional) Successful in 21s Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (cloudflare, latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E cloudflare-agent Test (optional) Successful in 15s Details
✅ CI: Optional E2E Tests / E2E cloudflare-pi-durable (latest) Test (optional) Successful in 22s Details
✅ CI: Optional E2E Tests / E2E node-flue Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-openai-decisions-send-to-sentry Test (optional) Successful in 58s Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps Test (optional) Successful in 20s Details
✅ CI: Optional E2E Tests / E2E node-express-send-to-sentry Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-4 (canary) Test (optional) Successful in 2m Details
✅ CI: Optional E2E Tests / E2E nextjs-16 (canary, turbopack) Test (optional) Successful in 4m Details
✅ CI: Optional E2E Tests / E2E gen-ai-libraries (cloudflare) Test (optional) Successful in 20s Details
✅ CI: Optional E2E Tests / E2E node-express-mcp-v1 Test (optional) Successful in 15s Details
✅ CI: Optional E2E Tests / E2E node-fastify-6 (tracer provider) Test (optional) Successful in 20s Details
✅ CI: Optional E2E Tests / E2E node-openai-decisions-send-to-sentry (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-mastra Test (optional) Successful in 43s Details
✅ CI: Optional E2E Tests / E2E node-anthropic-send-to-sentry Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-flue (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-express-send-to-sentry-static Test (optional) Successful in 49s Details
✅ CI: Optional E2E Tests / E2E node-pi-durable Test (optional) Successful in 21s Details
✅ CI: Optional E2E Tests / E2E nextjs-orpc Test (optional) Successful in 57s Details
✅ CI: Optional E2E Tests / E2E node-eve (orchestrion) Test (optional) Successful in 32s Details
✅ CI: Optional E2E Tests / E2E node-fastify-6 Test (optional) Successful in 27s Details
✅ CI: Optional E2E Tests / E2E nuxt-5 Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nextjs-16-standalone (canary, turbopack) Test (optional) Successful in 23s Details
✅ CI: Optional E2E Tests / E2E supabase-nextjs Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E solidstart-2 Test (optional) Successful in 33s Details
✅ CI: Optional E2E Tests / E2E vue-3 (canary) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-express-mcp-v2 Test (optional) Successful in 26s Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (static / nuxt generate) Test (optional) Successful in 19s Details
✅ CI: Optional E2E Tests / E2E nuxt-4-static (canary) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E node-openai-send-to-sentry Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-5-sourcemaps (client source maps kept) Test (optional) Successful in 20s Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react-sourcemaps Test (optional) Successful in 18s Details
✅ CI: Optional E2E Tests / E2E node-pi-durable (latest) Test (optional) Successful in 23s Details
✅ CI: Optional E2E Tests / E2E node-openai-send-to-sentry (latest) Test (optional) Successful in 1m Details
✅ CI: Optional E2E Tests / E2E nuxt-3 (canary) Test (optional) Successful in 53s Details
✅ CI: Optional E2E Tests / E2E tanstackstart-react-cloudflare Test (optional) Successful in 18s Details
✅ CI: Optional E2E Tests / E2E vue-3 (no Options API) Test (optional) Successful in 51s Details
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

JPeer264 added 5 commits October 25, 2026 11:50
@JPeer264
Allow the build script of msgpackr-extract, which bullmq installs
bfc947f
@JPeer264
Use the pnpm 12 setup of the other e2e apps in node-bullmq
f86b98d
@JPeer264
Compare all span and metric attributes in the BullMQ integration and …
5d96d43
…e2e tests
@JPeer264
Send failed BullMQ jobs without the synthetic stack trace
13b1e10
@JPeer264
chore: Dedupe lockfile
894bd93
@JPeer264
JPeer264 requested a review from Lms24 October 25, 2026 11:40
Lms24
Lms24 approved these changes Oct 28, 2026
View reviewed changes

@Lms24 Lms24 left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for making my various change requests! 🙏 Let's ship it!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@JPeer264
JPeer264 merged commit b722d3c into develop Oct 28, 2026
380 of 383 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@JPeer264
JPeer264 deleted the jp/bullmq-queue-insights branch October 28, 2026 21:46
@sentry-release-bot sentry-release-bot Bot mentioned this pull request Nov 5, 2026
publish: getsentry/[email protected] getsentry/publish#10234
Closed
51 tasks done
@github-actions github-actions Bot mentioned this pull request Nov 5, 2026
Insights: auto-Instrument BullMQ for Queue Insights #12956
Closed
@sentry-junior sentry-junior Bot mentioned this pull request Nov 13, 2026
feat(node): Capture the original job error for failed BullMQ jobs #26352
Merged
JPeer264 added a commit that referenced this pull request Nov 13, 2026
@sentry-junior @JPeer264
feat(node): Capture the original job error for failed BullMQ jobs (#2…
86c084b
…6352)

**Why:** Follow-up to #21777. Until now BullMQ only gave the telemetry
adapter the error message, so we captured a synthetic `Error` with no
stack, and every failed job grouped by message alone. Since bullmq 6.7.5
the worker calls `recordException(err)` with the job error right before
the `job failed` event (taskforcesh/bullmq#4902,
taskforcesh/bullmq#4915). We now keep that error and capture it, so
failed jobs get their real type and processor stack trace. Older BullMQ
versions fall back to the message-only error as before.

Only `Error` instances are kept: BullMQ passes the Redis/lock errors it
retries as strings, and those reset the recorded error so they can't be
captured as the job failure.

**How to review:** `span.ts` is the whole change. The integration test
diff is mostly re-indentation: the failed-job scenario now runs against
bullmq v5 (no stack) and `^6.7.5` (stack with frames from the scenario
file).

<!-- junior-request-attribution:start -->
via **Jan Peer Stöcklmair**.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:slack%3AC0CA6TD3QRK%3A1794566080.532069 -->

--

[View
Session](https://junior-prod.sentry.dev/conversations/slack%3AC0CA6TD3QRK%3A1794566080.532069)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0CA6TD3QRK%3A1794566080.532069/?project=4510944073809921)

<!-- junior-session-footer:end -->

---------

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Jan Peer Stöcklmair <[email protected]>
JPeer264 added a commit to getsentry/sentry-docs that referenced this pull request Nov 17, 2026
@JPeer264 @claude @sentry-junior
docs(javascript): Add BullMQ integration page (#20120)
77fac80
<!-- Keep the urgency section so automation can prioritize this PR. You
may delete other sections you don't need. -->

## DESCRIBE YOUR PR

This adds a page for `Sentry.BullMQTelemetry`, the BullMQ integration of
the JavaScript SDK (getsentry/sentry-javascript#21777). It shows how to
pass it to the `telemetry` option of a `Queue` and a `Worker`, what gets
sent (spans follow `tracesSampleRate`, errors are always captured,
metrics are opt-in), the spans, the captured errors and the metrics.

Merge after getsentry/sentry-javascript#21777 is released. It was merged
after 11.10.0, so `<AvailableSince version="11.11.0" />` is the next
minor version and must match that release.

## IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs
to go live.
Select exactly one option. For deadlines, replace `YYYY-MM-DD` with the
due date. You can update this information later by editing the PR
description.

- [ ] Urgent deadline (GA date, etc.): YYYY-MM-DD
- [ ] Other deadline: YYYY-MM-DD
- [x] No deadline: Not urgent, can wait up to 1 week+

## SLA

- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
supplied a deadline.

Thanks in advance for your help!

## PRE-MERGE CHECKLIST

_Make sure you've checked the following before merging your changes:_

- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)

## LEGAL BOILERPLATE

<!-- Sentry employees and contractors can delete or ignore this section.
-->

Look, I get it. The entity doing business as "Sentry" was incorporated
in the State of Delaware in 2015 as Functional Software, Inc. and is
gonna need some rights from me in order to utilize my contributions in
this here PR. So here's the deal: I retain all rights, title and
interest in and to my contributions, and by keeping this boilerplate
intact I confirm that Sentry can use, modify, copy, and redistribute my
contributions, under Sentry's choice of terms.

## EXTRA RESOURCES

- [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)

<!-- junior-request-attribution:start -->
via **Jan Peer Stöcklmair**.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:slack%3AC0CA6TD3QRK%3A1793705881.628179 -->

--

[View
Session](https://junior-prod.sentry.dev/conversations/slack%3AC0CA6TD3QRK%3A1793705881.628179)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AC0CA6TD3QRK%3A1793705881.628179/?project=4510944073809921)

<!-- junior-session-footer:end -->

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@s1gr1d s1gr1d s1gr1d left review comments
@sentry sentry[bot] sentry[bot] left review comments
@Lms24 Lms24 Lms24 approved these changes
@nicohrubec nicohrubec Awaiting requested review from nicohrubec nicohrubec was automatically assigned from getsentry/team-javascript-sdks-framework
@chargome chargome Awaiting requested review from chargome

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@JPeer264 JPeer264

Labels

PR: no-auto-close

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Insights: auto-Instrument BullMQ for Queue Insights

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@JPeer264 @andreiborza @Lms24 @s1gr1d
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.