mirror of
https://github.com/nspcc-dev/status-fs-neo-org.git
synced 2026-03-01 04:29:28 +00:00
Configure and make use of some minimal node count for the network #40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @roman-khimov on GitHub (Apr 12, 2023).
Is your feature request related to a problem? Please describe.
I'm always frustrated when I see zero nodes on the network map and green "Healthy" sign at the same time. It's not healthy, it's horribly broken.
Describe the solution you'd like
Define some "HealthyNumberOfNodes" parameter for the app along with "DegradedNumberOfNodes" (4 and 2 for our current networks), display yellow "Degraded" on
<HealthyNumberOfNodesand redBroken(or some better word) on<DegradedNumberOfNodes.Describe alternatives you've considered
Not a lot of them. We can make NSPCC nodes special at the same time, but it doesn't seem to be required.
@mike-petrov commented on GitHub (Jul 12, 2023):
Some examples: status.digitalocean.com, status.dropbox.com, status.openai.com.
We can show status of each node separately: 1, 2, 3, 4, ...
@roman-khimov commented on GitHub (Jul 18, 2023):
It's not appropriate for our case, nodes are homogeneous and we can have community nodes that we do not have any control over.
@mike-petrov commented on GitHub (Jul 19, 2023):
As far as I understand we don't have these metrics in json, how do we want to add them?
@roman-khimov commented on GitHub (Jul 19, 2023):
Do we have any other per-network configuration data? It'd be more appropriate there.
@roman-khimov commented on GitHub (Jul 20, 2023):
Yeah, you can fix in in
get_webstat_metrics.py, normally we have 4 nodes on testnet and 5 on mainnet, anything below that is degraded and less than 3 (testnet) or 4 (mainnet) nodes isUnhealthy.We also need some status line (the reason for degraded/unknown/unhealthy). It can be displayed below the status itself (omitted for the healthy case).