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

Raft: recovery throttle available units metric #6110

Merged
merged 1 commit into from
Aug 19, 2022

Conversation

ZeDRoman
Copy link
Contributor

@ZeDRoman ZeDRoman commented Aug 19, 2022

Cover letter

Add recovery throttle metric that shows current available units in recovery semaphore.

Fixes partially: #4817

Backport Required

  • not a bug fix
  • papercut/not impactful enough to backport
  • v22.2.x
  • v22.1.x
  • v21.11.x

Release notes

Features

  • New metric for partition movement available bandwidth

@ZeDRoman ZeDRoman marked this pull request as ready for review August 19, 2022 11:55
// TODO: Delete this metric after public is supported in scraping
// configurations
namespace sm = ss::metrics;
_internal_metrics.add_group(
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: maybe we can have just a single function that takes a metrics endpoint as a parameter

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Didn't think about it
But I think that now it is easier to just delete this function without refactoring code later.

@ZeDRoman ZeDRoman merged commit 1a3ab75 into redpanda-data:dev Aug 19, 2022
@ZeDRoman
Copy link
Contributor Author

/backport v22.2.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/enhance New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants