mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-23 07:04:35 +00:00
Add a Prometheus histogram metric (rpc/gas_used/eth_call) that tracks the gas consumed by eth_call requests. This helps RPC providers monitor node capacity and correlate CPU usage with actual EVM computation load. The metric is recorded after successful execution, including reverted calls, since they still consume gas. Fixes #32774 |
||
|---|---|---|
| .. | ||
| override | ||
| testdata | ||
| addrlock.go | ||
| api.go | ||
| api_test.go | ||
| backend.go | ||
| dbapi.go | ||
| errors.go | ||
| logtracer.go | ||
| metrics.go | ||
| simulate.go | ||
| simulate_test.go | ||
| transaction_args.go | ||
| transaction_args_test.go | ||