package
0.0.5
Repository: https://github.com/hoaleee/zkevm-node.git
Documentation: pkg.go.dev

# Functions

Register the metrics for the jsonrpc package.
RequestDuration observes (histogram) the duration of a request from the provided starting time.
RequestHandled increments the requests handled counter vector by one for the given label.

# Constants

RequestHandledLabelBatch represents an request of type batch.
RequestHandledLabelError represents an request of type error.
RequestHandledLabelInvalid represents an request of type invalid.
RequestHandledLabelSingle represents an request of type single.

# Type aliases

RequestHandledLabel represents the possible values for the `jsonrpc_request_handled` metric `type` label.