trait DeprecatedMetricBuilder extends AnyRef
- Alphabetic
- By Inheritance
- DeprecatedMetricBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- 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
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def cachedGauge[A](name: String, timeout: FiniteDuration, scope: String = null)(f: => A): Gauge[A]
Registers a new gauge metric that caches its value for a given duration.
Registers a new gauge metric that caches its value for a given duration.
- name
the name of the gauge
- timeout
the timeout
- scope
(deprecated) the scope of the gauge or null for no scope
- 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 = null): Counter
Creates a new counter metric.
Creates a new counter metric.
- name
the name of the counter
- scope
(deprecated) the scope of the counter or null for no scope
- 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 finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def gauge[A](name: String, scope: String = null)(f: => A): Gauge[A]
Registers a new gauge metric.
Registers a new gauge metric.
- name
the name of the gauge
- scope
(deprecated) the scope of the gauge or null for no scope
- 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 = null): Histogram
Creates a new histogram metric.
Creates a new histogram metric.
- name
the name of the histogram
- scope
(deprecated) the scope of the histogram or null for no scope
- 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 = null): Meter
Creates a new meter metric.
Creates a new meter metric.
- name
the name of the meter
- scope
(deprecated) the scope of the meter or null for no scope
- 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 = null): String
- Attributes
- protected
- 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 = null): Timer
Creates a new timer metric.
Creates a new timer metric.
- name
the name of the timer
- scope
(deprecated) the scope of the timer or null for no scope
- 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.