-
Notifications
You must be signed in to change notification settings - Fork 70
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
Simple HTML frontend for Bisq 2 monitor #2978
Simple HTML frontend for Bisq 2 monitor #2978
Conversation
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.
ACK
Small Nit see in comment...
.toList(); | ||
|
||
CompletableFuture<Void> allFutures = CompletableFuture.allOf(futures.toArray(new CompletableFuture[0])); |
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.
We have a util method CompletableFutureUtils.allOf
with an improved API (see comments in the method about the differences to CompletableFuture.allOf).
I tested it locally now. Looks great! A few small suggestions:
There was an inactive seed node still in the network. I banned it now and added below the code for filtering banned nodes.
|
Accessible via http://localhost:8082/node-monitor/index.html The hostlist and portlist-filter can be set in settings as a list, separated by newlines or commas, and will be saved in a cookie.
Filter out unnecessary fields (version, serializedSize, excludedFields) from reports.
912a334
to
2bf5039
Compare
Branch has been rebased(without conflicts) onto the latest main branch.
I'll need to consider the best way to implement this, but overall, it shouldn't be a big issue.
This will require a bit more thought on my end :) but it should also be doable. I'm still unsure whether I'll make a separate PR for these two points; it depends on how the timing works out. |
Here a code snippet how to get the data:
Yes feel free to do it as you wish. I also assume the diff feature might be a bit more work and would justify an additional PR. |
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
Maybe better to merge the PR. There are a few other larger PRs and risk for merge conflict rises.... |
Accessible via http://localhost:8082/node-monitor/index.html
The address list is automatically loaded via a REST interface (get-address-list). Seed node addresses are loaded from the configuration, while two oracle nodes are hardcoded.
The address list and port filter can be set in the settings as a list, separated by newlines or commas, and will be saved in a cookie. Comments (lines beginning with #) and empty lines are allowed.
Origin: #2634