Metrics

trait Metrics extends MetricBuilding

Exposes all metric building APIs using a built-in, globally shared metric registry.

class Object
trait Matchable
class Any
object Kamon.type

Value members

Concrete methods

protected def clearRegistry(): Unit
protected def registry(): MetricRegistry

Metric registry from which all metric-building APIs will draw instances. For more details on the entire set of exposes APIs please refer to kamon.metric.MetricBuilding.

Metric registry from which all metric-building APIs will draw instances. For more details on the entire set of exposes APIs please refer to kamon.metric.MetricBuilding.

Inherited methods

def counter(name: String, description: String, settings: ForValueInstrument): Counter

Creates or retrieves a Counter-backed metric with the provided settings

Creates or retrieves a Counter-backed metric with the provided settings

Inherited from:
MetricBuilding
def counter(name: String, description: String, unit: MeasurementUnit): Counter

Creates or retrieves a Counter-backed metric with the provided unit

Creates or retrieves a Counter-backed metric with the provided unit

Inherited from:
MetricBuilding
def counter(name: String, unit: MeasurementUnit): Counter

Creates or retrieves a Counter-backed metric with the provided unit

Creates or retrieves a Counter-backed metric with the provided unit

Inherited from:
MetricBuilding
def counter(name: String, description: String): Counter

Creates or retrieves a Counter-backed metric

Creates or retrieves a Counter-backed metric

Inherited from:
MetricBuilding
def counter(name: String): Counter

Creates or retrieves a Counter-backed metric

Creates or retrieves a Counter-backed metric

Inherited from:
MetricBuilding
def gauge(name: String, description: String, settings: ForValueInstrument): Gauge

Creates or retrieves a Gauge-backed metric with the provided settings

Creates or retrieves a Gauge-backed metric with the provided settings

Inherited from:
MetricBuilding
def gauge(name: String, description: String, unit: MeasurementUnit): Gauge

Creates or retrieves a Gauge-backed metric with the provided unit

Creates or retrieves a Gauge-backed metric with the provided unit

Inherited from:
MetricBuilding
def gauge(name: String, unit: MeasurementUnit): Gauge

Creates or retrieves a Gauge-backed metric with the provided unit

Creates or retrieves a Gauge-backed metric with the provided unit

Inherited from:
MetricBuilding
def gauge(name: String, description: String): Gauge

Creates or retrieves a Gauge-backed metric

Creates or retrieves a Gauge-backed metric

Inherited from:
MetricBuilding
def gauge(name: String): Gauge

Creates or retrieves a Gauge-backed metric

Creates or retrieves a Gauge-backed metric

Inherited from:
MetricBuilding
def histogram(name: String, description: String, settings: ForDistributionInstrument): Histogram

Creates or retrieves a Histogram-backed metric with the provided settings

Creates or retrieves a Histogram-backed metric with the provided settings

Inherited from:
MetricBuilding
def histogram(name: String, description: String, unit: MeasurementUnit, dynamicRange: DynamicRange): Histogram

Creates or retrieves a Histogram-backed metric with the provided unit and dynamic range

Creates or retrieves a Histogram-backed metric with the provided unit and dynamic range

Inherited from:
MetricBuilding
def histogram(name: String, unit: MeasurementUnit, dynamicRange: DynamicRange): Histogram

Creates or retrieves a Histogram-backed metric with the provided unit and dynamic range

Creates or retrieves a Histogram-backed metric with the provided unit and dynamic range

Inherited from:
MetricBuilding
def histogram(name: String, description: String, unit: MeasurementUnit): Histogram

Creates or retrieves a Histogram-backed metric with the provided unit

Creates or retrieves a Histogram-backed metric with the provided unit

Inherited from:
MetricBuilding
def histogram(name: String, unit: MeasurementUnit): Histogram

Creates or retrieves a Histogram-backed metric with the provided unit

Creates or retrieves a Histogram-backed metric with the provided unit

Inherited from:
MetricBuilding
def histogram(name: String, description: String): Histogram

Creates or retrieves a Histogram-backed metric

Creates or retrieves a Histogram-backed metric

Inherited from:
MetricBuilding
def histogram(name: String): Histogram

Creates or retrieves a Histogram-backed metric

Creates or retrieves a Histogram-backed metric

Inherited from:
MetricBuilding
def rangeSampler(name: String, description: String, settings: ForDistributionInstrument): RangeSampler

Creates or retrieves a RangeSampler-backed metric with the provided settings

Creates or retrieves a RangeSampler-backed metric with the provided settings

Inherited from:
MetricBuilding
def rangeSampler(name: String, description: String, unit: MeasurementUnit, dynamicRange: DynamicRange): RangeSampler

Creates or retrieves a RangeSampler-backed metric with the provided unit and dynamic range

Creates or retrieves a RangeSampler-backed metric with the provided unit and dynamic range

Inherited from:
MetricBuilding
def rangeSampler(name: String, unit: MeasurementUnit, dynamicRange: DynamicRange): RangeSampler

Creates or retrieves a RangeSampler-backed metric with the provided unit and dynamic range

Creates or retrieves a RangeSampler-backed metric with the provided unit and dynamic range

Inherited from:
MetricBuilding
def rangeSampler(name: String, description: String, unit: MeasurementUnit, autoUpdateInterval: Duration): RangeSampler

Creates or retrieves a RangeSampler-backed metric with the provided unit and auto-update interval

Creates or retrieves a RangeSampler-backed metric with the provided unit and auto-update interval

Inherited from:
MetricBuilding
def rangeSampler(name: String, description: String, unit: MeasurementUnit): RangeSampler

Creates or retrieves a RangeSampler-backed metric with the provided unit

Creates or retrieves a RangeSampler-backed metric with the provided unit

Inherited from:
MetricBuilding
def rangeSampler(name: String, unit: MeasurementUnit, autoUpdateInterval: Duration): RangeSampler

Creates or retrieves a RangeSampler-backed metric with the provided unit and auto-update interval

Creates or retrieves a RangeSampler-backed metric with the provided unit and auto-update interval

Inherited from:
MetricBuilding
def rangeSampler(name: String, unit: MeasurementUnit): RangeSampler

Creates or retrieves a RangeSampler-backed metric with the provided unit

Creates or retrieves a RangeSampler-backed metric with the provided unit

Inherited from:
MetricBuilding
def rangeSampler(name: String, description: String): RangeSampler

Creates or retrieves a RangeSampler-backed metric

Creates or retrieves a RangeSampler-backed metric

Inherited from:
MetricBuilding
def rangeSampler(name: String): RangeSampler

Creates or retrieves a RangeSampler-backed metric

Creates or retrieves a RangeSampler-backed metric

Inherited from:
MetricBuilding
def timer(name: String, description: String, dynamicRange: DynamicRange): Timer

Creates or retrieves a Timer-backed metric with the provided unit and dynamic range

Creates or retrieves a Timer-backed metric with the provided unit and dynamic range

Inherited from:
MetricBuilding
def timer(name: String, dynamicRange: DynamicRange): Timer

Creates or retrieves a Timer-backed metric with the provided unit and dynamic range

Creates or retrieves a Timer-backed metric with the provided unit and dynamic range

Inherited from:
MetricBuilding
def timer(name: String, description: String): Timer

Creates or retrieves a Timer-backed metric

Creates or retrieves a Timer-backed metric

Inherited from:
MetricBuilding
def timer(name: String): Timer

Creates or retrieves a Timer-backed metric

Creates or retrieves a Timer-backed metric

Inherited from:
MetricBuilding

Concrete fields