histogram
fun histogram(registry: PrometheusRegistry = PrometheusRegistry.defaultRegistry, block: Histogram.Builder.() -> Unit): Histogram
Creates, configures, and registers a Prometheus Histogram.
Return
the registered Histogram instance.
Parameters
registry
the registry to register the histogram with.
block
a lambda with Histogram.Builder as receiver for configuring name, help, buckets (classicUpperBounds(...)), and label names.