Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MethodPathDomains ¶
MethodPathDomains returns the bounded `path` label domain per RPC method whose request payload determines path (matching getMethodPath's switch). Methods not in the map emit only path="default". Used by metrics seeding so absent()-style alerts have defined values for every (method, path, result) tuple at cold start, not just (method, "default", result).
Types ¶
type RPCRouter ¶
func NewRPCRouter ¶
func NewRPCRouter( cfg RPCRouterConfig, node rpc.Node, signer sign.Signer, dbStore database.DatabaseStore, memoryStore memory.MemoryStore, runtimeMetrics metrics.RuntimeMetricExporter, logger log.Logger, ) *RPCRouter
func (*RPCRouter) ObservabilityMiddleware ¶
Click to show internal directories.
Click to hide internal directories.