Creates a new counter metric.
Creates a new counter metric.
the name of the counter
the scope of the gauge
the registry for the gauge
Registers a new gauge metric.
Registers a new gauge metric.
the name of the gauge
the scope of the gauge
the registry for the gauge
Creates a new histogram metrics.
Creates a new histogram metrics.
the name of the histogram
the scope of the histogram
whether or not to use a biased sample
the registry for the gauge
Creates a new meter metric.
Creates a new meter metric.
the name of the meter
the plural name of the type of events the meter is measuring (e.g., "requests")
the scope of the meter
the time unit of the meter
the registry for the gauge
Creates a new timer metric.
Creates a new timer metric.
the name of the timer
the scope of the timer
the time unit for measuring duration
the time unit for measuring rate
the registry for the gauge
A helper class for creating and registering metrics.