Skip to content

feat(queues): improve core queue conformance - #3133

Open
solnic wants to merge 1 commit into
feat/3117-public-backend-extension-registry-for-background-job-integrationsfrom
chore/3121-queues-module-conformance-improvements
Open

solnic wants to merge 1 commit into
feat/3117-public-backend-extension-registry-for-background-job-integrationsfrom
chore/3121-queues-module-conformance-improvements

Conversation

@solnic

@solnic solnic commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Adds core support for message body size and shared receive-latency calculation. Updates the messaging attribute contract and validation.

These changes align the shared producer/consumer instrumentation with the Sentry Queues Module SDK specification:

  • Message body size: messaging.message.body.size is an optional integer attribute measured in bytes. This PR adds the span convention, extension hook mapping, and validation needed for integrations to report it.
  • Receive latency: messaging.message.receive.latency measures the time from publication to receipt in milliseconds, excluding consumer processing. The shared helper gives integrations a consistent calculation and unit.

ActiveJob (#3130) and Sidekiq (#3134) adopt these capabilities in the following PRs.


Closes #3121

@solnic
solnic added this pull request to stack #3135 October 13, 2026 13:17
cursor[bot]

This comment was marked as resolved.

@solnic
solnic force-pushed the chore/3121-queues-module-conformance-improvements branch from 026bdab to 309e66d Compare October 13, 2026 13:23
@solnic
solnic marked this pull request as draft October 13, 2026 13:25
@solnic
solnic force-pushed the chore/3121-queues-module-conformance-improvements branch 2 times, most recently from 6062ec9 to 3b1d1eb Compare October 14, 2026 06:13
@solnic
solnic force-pushed the chore/3121-queues-module-conformance-improvements branch from 19f7789 to 6030023 Compare October 14, 2026 06:41
@solnic
solnic force-pushed the chore/3121-queues-module-conformance-improvements branch 2 times, most recently from 66d6ce7 to f2b3644 Compare October 14, 2026 09:17
@solnic
solnic force-pushed the chore/3121-queues-module-conformance-improvements branch from f2b3644 to 86a0c99 Compare October 14, 2026 10:34
@solnic
solnic force-pushed the chore/3121-queues-module-conformance-improvements branch 2 times, most recently from bdf502a to 689d90e Compare October 14, 2026 11:42
@solnic
solnic removed this pull request from stack #3135 October 14, 2026 11:44
@solnic solnic changed the title feat(queues): improve queue module conformance feat(queues): improve core queue conformance Oct 14, 2026
@solnic
solnic changed the base branch from chore/3123-shared-queue-instrumentation-helpers to feat/3117-public-backend-extension-registry-for-background-job-integrations October 14, 2026 11:44
@solnic
solnic added this pull request to stack #3137 October 14, 2026 11:44
@solnic
solnic marked this pull request as ready for review October 14, 2026 11:48
@solnic
solnic marked this pull request as draft October 15, 2026 08:25
@solnic
solnic force-pushed the chore/3121-queues-module-conformance-improvements branch from 689d90e to bf47215 Compare October 15, 2026 08:27
@solnic
solnic force-pushed the chore/3121-queues-module-conformance-improvements branch 2 times, most recently from a3b9f79 to 48eda2d Compare October 15, 2026 10:44
@solnic
solnic force-pushed the chore/3121-queues-module-conformance-improvements branch from 48eda2d to b88ccd8 Compare October 15, 2026 11:00
@solnic
solnic force-pushed the chore/3121-queues-module-conformance-improvements branch from b88ccd8 to 48aea69 Compare October 15, 2026 11:24
@solnic
solnic marked this pull request as ready for review October 15, 2026 12:19
@solnic
solnic force-pushed the chore/3121-queues-module-conformance-improvements branch from 48aea69 to c92efaf Compare October 15, 2026 12:45
@solnic
solnic force-pushed the chore/3121-queues-module-conformance-improvements branch from c92efaf to 789bcc1 Compare October 15, 2026 12:51
@solnic
solnic force-pushed the chore/3121-queues-module-conformance-improvements branch from 789bcc1 to 6c7f011 Compare October 15, 2026 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Queues module conformance improvements

1 participant