-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Monitor fixes #3045
Monitor fixes #3045
Conversation
would it be easy to add some unit tests to this pr? |
as the monitor is our least critical infrastructure I rather spend the time fixing stuff in Bisq itself. |
At some point in time there should be a rule that any change requires at least simple unit tests. And that time could as well be now. |
agreed. however, as we do not have the resources to do all and any testing in an instant we need to spend resources in thoughtful way |
monitor/src/main/java/bisq/monitor/metric/P2PSeedNodeSnapshot.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
utACK
Finally got the monitor to state that is does not kill some of its metrics after a few hours.
Furthermore, I refactored the P2P Roundtriptime metric so it does not always report all seeds as offline if one or more of them takes too long to respond (the issue showed up just recently, seems that our seeds are under heavier load than they have been).