Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Report worker metrics even when no messages in Stream #844

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

morgsmccauley
Copy link
Collaborator

We skip reporting metrics if there are no messages in the pre-fetch queue/Redis Stream. This is especially problematic for EXECUTOR_UP, as we won't increment the metric even though we are processing.

This PR moves the metrics logic so that it is always reported, even when no messages in the stream.

@morgsmccauley morgsmccauley requested a review from a team as a code owner June 28, 2024 00:41
@morgsmccauley morgsmccauley merged commit a73331a into main Jun 28, 2024
3 checks passed
@morgsmccauley morgsmccauley deleted the fix/report-metrics-all-the-time branch June 28, 2024 00:49
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.

1 participant