gauge
DSL-style function to build and register a Gauge using a GaugeBuilder.
Example:
val temperature = gauge("room_temperature_celsius") {
help("Current room temperature")
labelNames("room")
}Content copied to clipboard
Return
A configured Gauge instance.
Parameters
name
The name of the gauge metric.
block
Configuration block for the GaugeBuilder.