-
Notifications
You must be signed in to change notification settings - Fork 19
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
Health API #272
Comments
Great idea. I'd love to see more detailed reporting on the voting wallets that would include the version they are running. As a way of monitoring that the VSP is being actively maintained and upgrade in reasonable timeframes. |
Currently, the
Also are there more metrics to add? Quoting OP
I want to take this on. |
The
We can tackle the first two by creating a new endpoint. I don't think there is anything we can do about the third problem. |
@AlanBarber - version is already exposed in
|
@jholdstock thanks for the feedback, had the /vspinfo endpoint in my head the whole time. |
Sorry, guess I wasn't clear. I'm suggesting adding a To my surprise
Anyways, more information is always useful and as a staker I need a way to know that my VSP is upgrading their service in a timely manner. |
@AlanBarber - vspd is configured to only run against certain versions of dcrwallet. For example, vspd 1.0.0 can only run against dcrwallet 1.6.X. vspd 1.1.0 can only run against dcrwallet 1.7.X. Therefore, checking the vspd version is enough to infer whether voting wallets have been upgraded or not. Lines 17 to 19 in 040ed56
Lines 89 to 95 in 040ed56
|
@jholdstock are we looking at adding |
I suggest to discuss the addition of health metrics to existing endpoint like
/vspinfo
or create a new endpoint.Two metrics to start with are
votingwalletsonline
andvotingwalletstotal
. I see the following uses for these fields:votingwalletstotal
as one data point reflecting the reliability of a given VSP. iirc some dcrstakepool instances settled on the minimum required 3 wallets, while some added more have 5 or even 8 voting walletsThis idea is inspired by one API I used that returned the count of shards online and shards total. These allowed me to alert the user that the data returned may be incomplete.
Extracted from #232.
The text was updated successfully, but these errors were encountered: