package
0.0.3
Repository: https://github.com/scroll-tech/rpc-gateway.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetOrRegisterPercentage returns an existing Percentage or constructs and registers a new standard Percentage.
No description provided by the author
GetOrRegisterTimeWindowPercentage returns an existing Percentage or constructs and registers a new time window Percentage.
GetOrRegisterTimeWindowPercentageDefault returns an existing Percentage or constructs and registers a new time window Percentage.
This package should be imported before any metric (e.g.
No description provided by the author
NewPercentage constructs a new standard percentage metric.
NewTimerUpdater creates an instance to update timer metric.
NewTimerUpdaterByName creates an instance to update timer metric of specified name.
NewTimeWindowPercentage constructs a new time window Percentage.

# Variables

Note, must use metrics.DefaultRegistry from geth, since go-rpc-provider depends on it for rpc metrics by default.
No description provided by the author

# Structs

InputBlockMetric is used to add metrics for input block parameter.
InputEpochMetric is used to add metrics for input epoch parameter.
No description provided by the author
Node manager metrics.
PubSub metrics.
RPC metrics.
Store metrics.
Sync service metrics.
TimerUpdater is used to update timer metric with native defer syntax.

# Interfaces

Percentage implements the GaugeFloat64 interface for percentage statistic.