You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
There are currently no metrics for observing the load of RPC queries in the substrate/polkadot client. These would be very valuable to understand the load of an RPC node and to detect patterns and application behaviours.
Thus metrics could be added that would count the methods called (with an unknown method label for malformed requests). Additionally metrics for successful and erroneous requests would be good (with response codes). Timings of these RPC calls would be a plus but not be collected per default.
For keeping the number of metrics limited overall the exposure of such metrics could be made dependent on logging flags e.g. -l rpc=verbose.