MetricSnapshotBuilder

kamon.testkit.MetricSnapshotBuilder

Utilities for creating metric snapshots for testing purposes.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def counter(name: String, tags: TagSet, value: Long): Values[Long]

Returns a metric snapshot containing a single instrument with a snapshot containing the provided attributes.

Returns a metric snapshot containing a single instrument with a snapshot containing the provided attributes.

Attributes

def counter(name: String, description: String, tags: TagSet, value: Long): Values[Long]

Returns a metric snapshot containing a single instrument with a snapshot containing the provided attributes.

Returns a metric snapshot containing a single instrument with a snapshot containing the provided attributes.

Attributes

def counter(name: String, description: String, tags: TagSet, unit: MeasurementUnit, value: Long): Values[Long]

Returns a metric snapshot containing a single instrument with a snapshot containing the provided attributes.

Returns a metric snapshot containing a single instrument with a snapshot containing the provided attributes.

Attributes

def gauge(name: String, tags: TagSet, value: Double): Values[Double]

Returns a metric snapshot containing a single instrument with a snapshot containing the provided attributes.

Returns a metric snapshot containing a single instrument with a snapshot containing the provided attributes.

Attributes

def gauge(name: String, description: String, tags: TagSet, value: Double): Values[Double]

Returns a metric snapshot containing a single instrument with a snapshot containing the provided attributes.

Returns a metric snapshot containing a single instrument with a snapshot containing the provided attributes.

Attributes

def gauge(name: String, description: String, tags: TagSet, unit: MeasurementUnit, value: Double): Values[Double]

Returns a metric snapshot containing a single instrument with a snapshot containing the provided attributes.

Returns a metric snapshot containing a single instrument with a snapshot containing the provided attributes.

Attributes

def histogram(name: String, tags: TagSet)(values: Long*): Distributions

Returns a metric snapshot containing a single instrument with a distribution snapshot containing the provided attributes and values.

Returns a metric snapshot containing a single instrument with a distribution snapshot containing the provided attributes and values.

Attributes

def histogram(name: String, description: String, tags: TagSet)(values: Long*): Distributions

Returns a metric snapshot containing a single instrument with a distribution snapshot containing the provided attributes and values.

Returns a metric snapshot containing a single instrument with a distribution snapshot containing the provided attributes and values.

Attributes

def histogram(name: String, description: String, tags: TagSet, unit: MeasurementUnit)(values: Long*): Distributions

Returns a metric snapshot containing a single instrument with a distribution snapshot containing the provided attributes and values.

Returns a metric snapshot containing a single instrument with a distribution snapshot containing the provided attributes and values.

Attributes