this is my first post but I’m an active node operator since 3 years.
Sorry for my bad English, but I don’t speak it very well.
I have a suggestion for the next release.
Is it possible to develop and insert in the dashboard a mechanism to count and show the racewin?
I will try to explain.
Actually, i don’t know if my node is performing in the right way and i don’t know if my setup is optimal to win all the possible races and i don’t know if i’m exposing super slow storage or the type of disk i’m buying is garbage.
If is possible to develop a kind of counter based on some algorithm, all the storage operators can know immediately and discretionally if they can adjust their performance towards the customer.
I think this is useful to help anyone want to expose ever better (possible) service.
The algorithm should be exposed not to penalize the slowest storage (they are already “penalized” without winning all the race) but only to tell “hey your storage is orange, if you want waste your money installing some PB of NVME”.
I’m not sure if i have exposed the concept correctly, but what do you think is about?
As far as i know there is several scripts that can tel you how successful are your node.
So dont see any reason developers to build it.
Also if you setup your node to WARN log mode, then you will se only warnings and errors in logs, and then you can suppose how much rases you not wined on download or upload.
So it is all simple.
Logs have uploads and downloads and their results
Every upload begins with a line that says upload started and ends with a line that says uploaded or a line that says upload canceled or upload failed.
To get the success rate, count the lines that say uploaded and divide the number by the number of lines that say upload started.
The same applies to downloads, in that case the lines say download started etc.
To further break it down you can group the log entries by what the action is: GET, GET_REPAIR, GET_AUDIT, PUT, PUT_REPAIR and calculate the success rate of each (GET_AUDIT and GET_REPAIR should be 100%).
@littleskunk
Can you point us in the right direction for this grafana thing? Where can we find it and how to run it?
Is it occupying space on HDD, like logs do?
I want a deeper view on my nodes activity, but just in a dashboard/window, not in some other log that will increase over time.
I haven’t updated it in a while. Recently the audit and online score were also added to the metrics endpoint. I have added it to my dashboard but have not published it yet. Give me a few minutes to push my current version even if there are still a few changes I would like to apply.
Edit: The grafana dashboard is optional. You could also hit the metrics endpoint with your browser and search for that value. My grafana dashboard just contains the label you have to search for.