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(bridge-withdrawer): also set metric when value 0 #1771

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

joroshiba
Copy link
Member

Summary

The metric batch_total_settled_value was not being set to zero when blocks where empty, resulting in maintaining previous value and resetting incorrectly when no txs processed.

Changes

  • Updated metric to be set to 0 when block is empty

Changelogs

Changelogs updated.

Metrics

  • batch_total_settled_value improved

@joroshiba joroshiba marked this pull request as ready for review October 30, 2024 21:44
@joroshiba joroshiba requested a review from a team as a code owner October 30, 2024 21:44
Copy link
Contributor

@itamarreif itamarreif left a comment

Choose a reason for hiding this comment

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

lgtm

@joroshiba joroshiba added this pull request to the merge queue Oct 31, 2024
Merged via the queue into main with commit 5fc9c56 Oct 31, 2024
46 checks passed
@joroshiba joroshiba deleted the joroshiba/set-0-totaled-value-blocks branch October 31, 2024 17:21
bharath-123 pushed a commit that referenced this pull request Nov 5, 2024
## Summary
The metric `batch_total_settled_value` was not being set to zero when
blocks where empty, resulting in maintaining previous value and
resetting incorrectly when no txs processed.

## Changes
- Updated metric to be set to 0 when block is empty

## Changelogs
Changelogs updated.

## Metrics
- `batch_total_settled_value` improved
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.

3 participants