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(pd): remove validator state metrics #4401

Merged
merged 1 commit into from
May 20, 2024

Conversation

conorsch
Copy link
Contributor

Describe your changes

The validator state metrics are not accurate, and should be refactored to use ABCI event emission so that developers can leverage the state transitions in a sane way. In the meantime, let's remove the incorrect metrics entirely.

Issue ticket number and link

Refs #3746, #4336.

Checklist before requesting a review

  • If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

    only affects metrics emission and display, no changes to consensus logic

The validator state metrics are not accurate, and should be refactored
to use ABCI event emission so that developers can leverage the state
transitions in a sane way. In the meantime, let's remove the incorrect
metrics entirely.

Refs #3746, #4336.
Copy link
Contributor

@cratelyn cratelyn left a comment

Choose a reason for hiding this comment

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

nice! thanks 🙏

@conorsch conorsch merged commit 38c6127 into main May 20, 2024
13 checks passed
@conorsch conorsch deleted the remove-validator-state-metrics branch May 20, 2024 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants