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: Add more metrics for slow rebalancing #310

Merged
merged 3 commits into from
Dec 1, 2023
Merged

Conversation

untitaker
Copy link
Member

@untitaker untitaker commented Dec 1, 2023

the unitless metrics are good because they are low overhead to measure, but in the case of rebalancing, the overhead does not matter. emit a metric value everytime partitions are assigned/revoked (and how often a callback decides to shutdown/create strategies as a result), and also emit a counter for how many partitions are being assigned

We have unitless/cumulative times for all of those things, but we do not
actually know how often they happen.
@untitaker untitaker requested a review from a team as a code owner December 1, 2023 20:00
@untitaker untitaker changed the title ref/rebalance metrics ref: Add more metrics for slow rebalancing Dec 1, 2023
Copy link
Member

@lynnagara lynnagara left a comment

Choose a reason for hiding this comment

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

thanks!

@untitaker untitaker merged commit c15fbbd into main Dec 1, 2023
8 checks passed
@untitaker untitaker deleted the ref/rebalance-metrics branch December 1, 2023 20:14
untitaker added a commit to getsentry/snuba that referenced this pull request Dec 6, 2023
Port over the parts from getsentry/arroyo#310
that make sense -- some of the metrics I added there are duplicates and
are named poorly, and I don't think we need those to line up 1:1 (also
because callbacks in rust work slightly differently)
untitaker added a commit to getsentry/snuba that referenced this pull request Dec 6, 2023
* ref(rust): Add some rebalancing-related metrics

Port over the parts from getsentry/arroyo#310
that make sense -- some of the metrics I added there are duplicates and
are named poorly, and I don't think we need those to line up 1:1 (also
because callbacks in rust work slightly differently)

* fmt
untitaker added a commit that referenced this pull request Jan 17, 2024
* ref(rust): Add some rebalancing-related metrics

Port over the parts from #310
that make sense -- some of the metrics I added there are duplicates and
are named poorly, and I don't think we need those to line up 1:1 (also
because callbacks in rust work slightly differently)

* fmt
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

2 participants