Registers a new gauge metric that caches its value for a given duration.
Registers a new gauge metric that caches its value for a given duration.
the name of the gauge
the timeout
the scope of the gauge or null for no scope
Creates a new counter metric.
Creates a new counter metric.
the name of the counter
the scope of the counter or null for no scope
Registers a new gauge metric.
Registers a new gauge metric.
the name of the gauge
the scope of the gauge or null for no scope
Creates a new histogram metric.
Creates a new histogram metric.
the name of the histogram
the scope of the histogram or null for no scope
Creates a new meter metric.
Creates a new meter metric.
the name of the meter
the scope of the meter or null for no scope
Creates a new timer metric.
Creates a new timer metric.
the name of the timer
the scope of the timer or null for no scope
Unregisters all gauges that were created through this builder.
Builds and registering metrics.