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

ref(metrics): Add pause/resume counters [INC-626] #338

Merged
merged 2 commits into from
Feb 9, 2024

Conversation

untitaker
Copy link
Member

As part of the linked incident we think that the ingest consumer
paused/resumed in very quick succession. We currently don't have any
metrics for that.

As part of the linked incident we think that the ingest consumer
paused/resumed in very quick succession. We currently don't have any
metrics for that.
@untitaker untitaker requested a review from a team as a code owner February 8, 2024 13:31
@@ -150,7 +150,9 @@ def test_stream_processor_lifecycle() -> None:
(Timing, "arroyo.consumer.shutdown.time"),
(Timing, "arroyo.consumer.callback.time"),
(Timing, "arroyo.consumer.poll.time"),
(Increment, "arroyo.consumer.pause"),
Copy link
Member Author

@untitaker untitaker Feb 8, 2024

Choose a reason for hiding this comment

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

random thought: i think this test is kind of bs and annoying when i just want to add a metric, but at teh same time it's somewhat interesting to see that we apply backpressure when a consumer is shutting down

@untitaker untitaker merged commit 8d6e594 into main Feb 9, 2024
11 checks passed
@untitaker untitaker deleted the feat/consumer-pause-resume branch February 9, 2024 12:55
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.

None yet

3 participants