InstrumentInspection

Utility functions to extract snapshots from instruments. These utilities are only meant to be used for testing purposes.

class Object
trait Matchable
class Any

Type members

Classlikes

object Syntax extends Syntax
Companion:
class
trait Syntax

Exposes an implicitly available syntax to extract values and distribution from instruments.

Exposes an implicitly available syntax to extract values and distribution from instruments.

Companion:
object

Value members

Concrete methods

def distribution(instrument: Instrument[_, ForDistributionInstrument]): Distribution

Retrieves the current value of an instruments

Retrieves the current value of an instruments

def distribution(instrument: Instrument[_, ForDistributionInstrument], resetState: Boolean): Distribution

Retrieves the current value of an instruments

Retrieves the current value of an instruments

def doubleValue(instrument: Instrument[Gauge, ForValueInstrument]): Double

Retrieves the current value of a Gauge instrument

Retrieves the current value of a Gauge instrument

def longValue(instrument: Instrument[Counter, ForValueInstrument]): Long

Retrieves the current value of a Counter instrument

Retrieves the current value of a Counter instrument

def longValue(instrument: Instrument[Counter, ForValueInstrument], resetState: Boolean): Long

Retrieves the current value of a Counter instrument

Retrieves the current value of a Counter instrument