pub fn inc_rpc_requests_finished(
duration: Duration,
client: impl Into<MetricLabelValue>,
method: impl Into<MetricLabelValue>,
contract: impl Into<MetricLabelValue>,
function: impl Into<MetricLabelValue>,
result: impl Into<MetricLabelValue>,
result_code: impl Into<MetricLabelValue>,
success: impl Into<MetricLabelValue>,
)
Expand description
Add operation duration to rpc_requests_finished
histogram.