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

chore(bridge-withdrawer): change batch value metric to a histogram #2016

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

joroshiba
Copy link
Member

@joroshiba joroshiba commented Mar 6, 2025

Summary

Replaces the batch_total_settled_value gauge with batch_settled_value histogram.

Background

The existing metric batch_total_settled_value has not been useful, because gauges aren't very good for fast data points information. Histograms are generally better for this data as we can grab aggregate percentage data on what is happening per batch, as well as a total sum for measuring increase over time.

Changes

  • Replace the batch_total_settled_value gauge with batch_settled_value histogram
  • Added label for metric based on the denom

Testing

How are these changes tested?

Changelogs

Changelogs Updated.

Metrics

  • batch_settled_value histogram added.

@joroshiba joroshiba requested a review from Fraser999 March 6, 2025 20:03
@joroshiba joroshiba marked this pull request as ready for review March 6, 2025 20:03
@joroshiba joroshiba requested a review from SuperFluffy as a code owner March 6, 2025 20:03
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.

2 participants