Skip to content

Commit

Permalink
Add metrics for jsonrpc cache
Browse files Browse the repository at this point in the history
  • Loading branch information
dkeysil committed Mar 15, 2024
1 parent 123146d commit c71e1f3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions domain/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ const (
MetricJSONRPCRequest = "jsonrpc.request"
MetricJSONRPCSuccess = "jsonrpc.success"
MetricJSONRPCThrottled = "jsonrpc.throttled"
MetricJSONRPCCacheError = "jsonrpc.cache.error"
MetricJSONRPCCacheHit = "jsonrpc.cache.hit"
MetricJSONRPCCacheMiss = "jsonrpc.cache.miss"
MetricJSONRPCCacheLatency = "jsonrpc.cache.latency"
MetricJSONRPCCacheSize = "jsonrpc.cache.size"
MetricJSONRPCCachePollError = "jsonrpc.cache.poll.error"
MetricJSONRPCCachePollSuccess = "jsonrpc.cache.poll.success"
MetricPublicAPIProxyLatency = "publicapi.latency"
MetricPublicAPIProxyRequest = "publicapi.request"
MetricPublicAPIProxySuccess = "publicapi.success"
Expand Down

0 comments on commit c71e1f3

Please sign in to comment.