register_product_histogram

Function register_product_histogram 

Source
pub fn register_product_histogram(
    descriptor: MetricDescriptor,
) -> ProductMetricResult<ProductHistogram>
Expand description

Registers a product histogram and returns a typed handle.

ยงErrors

Returns an error when the histogram descriptor cannot be registered.