Skip to content

Commit

Permalink
Cache chain-id (#288)
Browse files Browse the repository at this point in the history
* Cache chain-id

* middleware to cache id

* Cache gnosis

* Add metrics to gnosis

* Remove i
  • Loading branch information
hweawer committed Dec 16, 2024
1 parent e485031 commit bfbe53c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metrics/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
ETH_RPC_REQUESTS = Counter(
'eth_rpc_requests',
'Total count of requests to ETH1 RPC',
['method', 'code', 'domain'],
['method', 'code', 'domain', 'chain_id'],
namespace=PROMETHEUS_PREFIX,
)

Expand Down

0 comments on commit bfbe53c

Please sign in to comment.