We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8c0510 commit 596bfa1Copy full SHA for 596bfa1
src/Sentry/Laravel/Features/QueueIntegration.php
@@ -191,7 +191,7 @@ public function handleJobProcessingQueueEvent(JobProcessing $event): void
191
'messaging.message.id' => $jobPayload['uuid'] ?? null,
192
'messaging.message.envelope.size' => strlen($event->job->getRawBody()),
193
'messaging.message.body.size' => strlen(json_encode($jobPayload['data'] ?? [])),
194
- 'messaging.message.retry.count' => $event->job->attempts(),
+ 'messaging.message.retry.count' => $event->job->attempts() - 1,
195
'messaging.message.receive.latency' => $jobPublishedAt !== null ? microtime(true) - $jobPublishedAt : null,
196
];
197
0 commit comments