stratus::infra::metrics

Function inc_rpc_requests_started

Source
pub fn inc_rpc_requests_started(
    client: impl Into<MetricLabelValue>,
    method: impl Into<MetricLabelValue>,
    contract: impl Into<MetricLabelValue>,
    function: impl Into<MetricLabelValue>,
    req_type: impl Into<MetricLabelValue>,
)
Expand description

Add 1 to rpc_requests_started counter.