ithacaxyz/odyssey

Add metrics for `wallet_` namespace

Closed this issue · 1 comments

It would be helpful to have the following metrics for the wallet_ RPC namespace:

  • Number of invalid calls to wallet_sendTransaction (i.e. where the request fails validation)
  • Number of valid calls to wallet_sendTransaction

We can use reth-metrics-derive, just like we do in Reth.

since I saw this PR, I used metrics-derive crate.
this is my first contribution here, so please let me know if anything is wrong.