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