Skip to content

[13.x] Add support for after_commit for Cloud queue metrics#60078

Merged
taylorotwell merged 1 commit into
laravel:13.xfrom
timacdonald:improve-queue-metrics-for-transactions
May 12, 2026
Merged

[13.x] Add support for after_commit for Cloud queue metrics#60078
taylorotwell merged 1 commit into
laravel:13.xfrom
timacdonald:improve-queue-metrics-for-transactions

Conversation

@timacdonald
Copy link
Copy Markdown
Member

No description provided.

@github-actions
Copy link
Copy Markdown

Thanks for submitting a PR!

Note that draft PRs are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

$result = $this->queue->pushRaw(...func_get_args());

$this->afterJobPushed($queue);
$this->finishQueueingJob($queue);
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

SqsQueue::pushRaw does not fire events and does not support after_commit, so we handle it here manually.

@timacdonald timacdonald marked this pull request as ready for review May 12, 2026 07:18
@timacdonald timacdonald changed the title Add support for after_commit for Cloud queue metrics. [13.x] Add support for after_commit for Cloud queue metrics May 12, 2026
@cosmastech
Copy link
Copy Markdown
Contributor

@timacdonald for my own understanding: why didn't you use a standardized format like statsd?

@taylorotwell taylorotwell merged commit 7bc59ae into laravel:13.x May 12, 2026
52 of 86 checks passed
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.

3 participants