trait MetricBuilding extends AnyRef
Exposes APIs for creating metrics, using a MetricRegistry as the underlying source of those metrics. Not all possible combinations of parameters to build metrics are exposed through this interface, but it is expected to cover all the common cases.
- Alphabetic
- By Inheritance
- MetricBuilding
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def registry: MetricRegistry
Registry from which metrics are retrieved.
Registry from which metrics are retrieved.
- Attributes
- protected
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def counter(name: String, description: String, settings: ForValueInstrument): Metric.Counter
Creates or retrieves a Counter-backed metric with the provided settings
- def counter(name: String, description: String, unit: MeasurementUnit): Metric.Counter
Creates or retrieves a Counter-backed metric with the provided unit
- def counter(name: String, unit: MeasurementUnit): Metric.Counter
Creates or retrieves a Counter-backed metric with the provided unit
- def counter(name: String, description: String): Metric.Counter
Creates or retrieves a Counter-backed metric
- def counter(name: String): Metric.Counter
Creates or retrieves a Counter-backed metric
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def gauge(name: String, description: String, settings: ForValueInstrument): Metric.Gauge
Creates or retrieves a Gauge-backed metric with the provided settings
- def gauge(name: String, description: String, unit: MeasurementUnit): Metric.Gauge
Creates or retrieves a Gauge-backed metric with the provided unit
- def gauge(name: String, unit: MeasurementUnit): Metric.Gauge
Creates or retrieves a Gauge-backed metric with the provided unit
- def gauge(name: String, description: String): Metric.Gauge
Creates or retrieves a Gauge-backed metric
- def gauge(name: String): Metric.Gauge
Creates or retrieves a Gauge-backed metric
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def histogram(name: String, description: String, settings: ForDistributionInstrument): Metric.Histogram
Creates or retrieves a Histogram-backed metric with the provided settings
- def histogram(name: String, description: String, unit: MeasurementUnit, dynamicRange: DynamicRange): Metric.Histogram
Creates or retrieves a Histogram-backed metric with the provided unit and dynamic range
- def histogram(name: String, unit: MeasurementUnit, dynamicRange: DynamicRange): Metric.Histogram
Creates or retrieves a Histogram-backed metric with the provided unit and dynamic range
- def histogram(name: String, description: String, unit: MeasurementUnit): Metric.Histogram
Creates or retrieves a Histogram-backed metric with the provided unit
- def histogram(name: String, unit: MeasurementUnit): Metric.Histogram
Creates or retrieves a Histogram-backed metric with the provided unit
- def histogram(name: String, description: String): Metric.Histogram
Creates or retrieves a Histogram-backed metric
- def histogram(name: String): Metric.Histogram
Creates or retrieves a Histogram-backed metric
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def rangeSampler(name: String, description: String, settings: ForDistributionInstrument): Metric.RangeSampler
Creates or retrieves a RangeSampler-backed metric with the provided settings
- def rangeSampler(name: String, description: String, unit: MeasurementUnit, dynamicRange: DynamicRange): Metric.RangeSampler
Creates or retrieves a RangeSampler-backed metric with the provided unit and dynamic range
- def rangeSampler(name: String, unit: MeasurementUnit, dynamicRange: DynamicRange): Metric.RangeSampler
Creates or retrieves a RangeSampler-backed metric with the provided unit and dynamic range
- def rangeSampler(name: String, description: String, unit: MeasurementUnit, autoUpdateInterval: Duration): Metric.RangeSampler
Creates or retrieves a RangeSampler-backed metric with the provided unit and auto-update interval
- def rangeSampler(name: String, description: String, unit: MeasurementUnit): Metric.RangeSampler
Creates or retrieves a RangeSampler-backed metric with the provided unit
- def rangeSampler(name: String, unit: MeasurementUnit, autoUpdateInterval: Duration): Metric.RangeSampler
Creates or retrieves a RangeSampler-backed metric with the provided unit and auto-update interval
- def rangeSampler(name: String, unit: MeasurementUnit): Metric.RangeSampler
Creates or retrieves a RangeSampler-backed metric with the provided unit
- def rangeSampler(name: String, description: String): Metric.RangeSampler
Creates or retrieves a RangeSampler-backed metric
- def rangeSampler(name: String): Metric.RangeSampler
Creates or retrieves a RangeSampler-backed metric
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def timer(name: String, description: String, dynamicRange: DynamicRange): Metric.Timer
Creates or retrieves a Timer-backed metric with the provided unit and dynamic range
- def timer(name: String, dynamicRange: DynamicRange): Metric.Timer
Creates or retrieves a Timer-backed metric with the provided unit and dynamic range
- def timer(name: String, description: String): Metric.Timer
Creates or retrieves a Timer-backed metric
- def timer(name: String): Metric.Timer
Creates or retrieves a Timer-backed metric
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()