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
At Kakarot, we're using JsonRpsee to build our Ethereum RPC layer. As our testnet is imminent, we're looking to add Prometheus to our RPC.
Do you recommend a preferred way to do it? We're currently reusing the code from Substrate that adds Prometheus to the JsonRpc server. I'm wondering if there is a way you'd recommend doing it, I suspect many people using jsonrpsee in prod had to ask themselves this question.
Happy to open a PR and add a example in the examples folder with the outcome of this discussion!
Thanks for your help (and cool software).
The text was updated successfully, but these errors were encountered:
Good question, I think the easiest way is to write them as RpcMiddleware as we have done in substrate but it's tricky to have connection stats without using the low-level server API.
Would be great if you could add an example for prometheus metrics or create a discussion thread at GitHub, thanks
Hi team,
At Kakarot, we're using JsonRpsee to build our Ethereum RPC layer. As our testnet is imminent, we're looking to add Prometheus to our RPC.
Do you recommend a preferred way to do it? We're currently reusing the code from Substrate that adds Prometheus to the JsonRpc server. I'm wondering if there is a way you'd recommend doing it, I suspect many people using jsonrpsee in prod had to ask themselves this question.
Happy to open a PR and add a example in the examples folder with the outcome of this discussion!
Thanks for your help (and cool software).
The text was updated successfully, but these errors were encountered: