class HdrMetricBuilder extends MetricBuilder
An alternative metric builder that creates Histograms and Timers with Reservoirs from the HdrHistogram library.
See the the manual for more instructions on using hdrhistogram.
- Alphabetic
- By Inheritance
- HdrMetricBuilder
- MetricBuilder
- DeprecatedMetricBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new HdrMetricBuilder(baseName: MetricName, registry: MetricRegistry, resetAtSnapshot: Boolean)
- resetAtSnapshot
falseto use reservoirs that accumulate internal state forever, ortrueto use a reservoir that resets its internal state on each snapshot (which is how reporters get information from reservoirs). See this article for when the latter is useful.
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
- val baseName: MetricName
- Definition Classes
- MetricBuilder
- def cachedGauge[A](name: String, timeout: FiniteDuration)(f: => A): Gauge[A]
- Definition Classes
- MetricBuilder
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def counter(name: String): Counter
- Definition Classes
- MetricBuilder
- 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[A](name: String)(f: => A): Gauge[A]
- Definition Classes
- MetricBuilder
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def histogram(name: String): Histogram
Creates a new histogram metric with a Reservoir from the HdrHistogram library.
Creates a new histogram metric with a Reservoir from the HdrHistogram library.
- name
the name of the histogram
- Definition Classes
- HdrMetricBuilder → MetricBuilder
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def meter(name: String): Meter
- Definition Classes
- MetricBuilder
- def metricNameFor(name: String): String
- Attributes
- protected
- Definition Classes
- MetricBuilder
- 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 pushGauge[A](name: String, startValue: A): PushGauge[A]
- Definition Classes
- MetricBuilder
- def pushGaugeWithTimeout[A](name: String, defaultValue: A, timeout: FiniteDuration): PushGaugeWithTimeout[A]
- Definition Classes
- MetricBuilder
- val registry: MetricRegistry
- Definition Classes
- MetricBuilder
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def timer(name: String): Timer
Creates a new timer metric with a Reservoir from the HdrHistogram library.
Creates a new timer metric with a Reservoir from the HdrHistogram library.
- name
the name of the timer
- Definition Classes
- HdrMetricBuilder → MetricBuilder
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unregisterGauges(): Unit
- Definition Classes
- MetricBuilder
- 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()
Deprecated Value Members
- def cachedGauge[A](name: String, timeout: FiniteDuration, scope: String)(f: => A): Gauge[A]
- Definition Classes
- DeprecatedMetricBuilder
- Annotations
- @deprecated
- Deprecated
(Since version 4.0.3) Please use
cachedGauge(name+"."+scope)(f)instead. The scope parameter has been deprecated and will be removed in v5.0.0.
- def counter(name: String, scope: String): Counter
- Definition Classes
- DeprecatedMetricBuilder
- Annotations
- @deprecated
- Deprecated
(Since version 4.0.3) Please use
counter(name+"."+scope)(f)instead. The scope parameter has been deprecated and will be removed in v5.0.0.
- def gauge[A](name: String, scope: String)(f: => A): Gauge[A]
- Definition Classes
- DeprecatedMetricBuilder
- Annotations
- @deprecated
- Deprecated
(Since version 4.0.3) Please use
gauge(name+"."+scope)(f)instead. The scope parameter has been deprecated and will be removed in v5.0.0.
- def histogram(name: String, scope: String): Histogram
- Definition Classes
- DeprecatedMetricBuilder
- Annotations
- @deprecated
- Deprecated
(Since version 4.0.3) Please use
histogram(name+"."+scope)(f)instead. The scope parameter has been deprecated and will be removed in v5.0.0.
- def meter(name: String, scope: String): Meter
- Definition Classes
- DeprecatedMetricBuilder
- Annotations
- @deprecated
- Deprecated
(Since version 4.0.3) Please use
meter(name+"."+scope)(f)instead. The scope parameter has been deprecated and will be removed in v5.0.0.
- def metricNameFor(name: String, scope: String): String
- Attributes
- protected
- Definition Classes
- DeprecatedMetricBuilder
- Annotations
- @deprecated
- Deprecated
(Since version 4.0.3) Do not use metricNameFor, it is an internal API. This method will be removed in v5.0.0.
- def timer(name: String, scope: String): Timer
- Definition Classes
- DeprecatedMetricBuilder
- Annotations
- @deprecated
- Deprecated
(Since version 4.0.3) Please use
timer(name+"."+scope)(f)instead. The scope parameter has been deprecated and will be removed in v5.0.0.