-
Notifications
You must be signed in to change notification settings - Fork 473
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
algod_ledger_round duplicated in /metrics after running fast catchup #3354
Comments
seeing same issue for |
also seeing this issue |
+1 on above having the same issue |
It seems that recent changes to Trackers introduced this bug; all these metrics are getting duplicated in the metrics tracker: Lines 35 to 51 in 507eb53
Causing our Prometheus monitoring to throw the following error
which includes the same metrics reported by @onetechnical @0x4a5e1e4baab and @KevinM2k.
@algorandskiy @tsachiherman do you have any idea what may be causing this? |
That's very interesting. Thank you for reporting this. I will look into that, but please don't expect a resolution in the immediate coming release. |
What happens here:
Not clear why it was not a problem before. I do not remember touching metrics logic at all. |
I did some investigation and looks like we always had such issue. Fixed in #3661 |
## Summary Metrics counters where not cleared on close and lead to duplicate entries in metering report. ## Test Plan Added unit test. Tested manually. Closes #3354
Subject of the issue
(As reported by another user) If you run fast catchup, the algod_ledger_round reported by the /metrics endpoint will duplicate stats.
Your environment
Steps to reproduce
algod_ledger_round
algod_ledger_round
and observe two instances.Expected behaviour
Only the latter metric.
Actual behaviour
Both the former and latter metrics.
A workaround is to restart the algod process.
The text was updated successfully, but these errors were encountered: