InstrumentInspection

kamon.testkit.InstrumentInspection

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

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object Syntax extends Syntax

Attributes

Companion
trait
Supertypes
trait Syntax
class Object
trait Matchable
class Any
Self type
Syntax.type
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.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Syntax.type

Value members

Concrete methods

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

Retrieves the current value of an instruments

Retrieves the current value of an instruments

Attributes

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

Retrieves the current value of an instruments

Retrieves the current value of an instruments

Attributes

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

Retrieves the current value of a Gauge instrument

Retrieves the current value of a Gauge instrument

Attributes

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

Retrieves the current value of a Counter instrument

Retrieves the current value of a Counter instrument

Attributes

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

Attributes