AbstractMeter

abstract class AbstractMeter : Meter

An abstract implementation of a meter. By default, this class uses no-op implementations for all members unless overridden in a subclass.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun createAsyncUpDownCounter(name: String, callback: LongUpDownCounterCallback, units: String?, description: String?): AsyncMeasurementHandle

Create a new async up down counter.

Link copied to clipboard
open override fun createDoubleGauge(name: String, callback: DoubleGaugeCallback, units: String?, description: String?): AsyncMeasurementHandle

Create a new Gauge.

Link copied to clipboard
open override fun createDoubleHistogram(name: String, units: String?, description: String?): DoubleHistogram

Create a new DoubleHistogram

Link copied to clipboard
open override fun createLongGauge(name: String, callback: LongGaugeCallback, units: String?, description: String?): AsyncMeasurementHandle

Create a new Gauge.

Link copied to clipboard
open override fun createLongHistogram(name: String, units: String?, description: String?): LongHistogram

Create a new LongHistogram

Link copied to clipboard
open override fun createMonotonicCounter(name: String, units: String?, description: String?): MonotonicCounter

Create a new MonotonicCounter

Link copied to clipboard
open override fun createUpDownCounter(name: String, units: String?, description: String?): UpDownCounter

Create a new UpDownCounter