object MetricAspect
- Alphabetic
- By Inheritance
- MetricAspect
- 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
- def adjustGauge(name: String, tags: Label*): MetricAspect[Double]
A metric aspect that adjusts a gauge each time the effect it is applied to succeeds.
- def adjustGaugeWith[A](name: String, tags: Label*)(f: (A) => Double): MetricAspect[A]
A metric aspect that adjusts a gauge each time the effect it is applied to succeeds, using the specified function to transform the value returned by the effect to the value to adjust the gauge with.
- 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 count(name: String, tags: Label*): MetricAspect[Any]
A metric aspect that increments the specified counter each time the effect it is applied to succeeds.
- def countErrors(name: String, tags: Label*): MetricAspect[Any]
A metric aspect that increments the specified counter each time the effect it is applied to fails.
- def countValue(name: String, tags: Label*): MetricAspect[Double]
A metric aspect that increments the specified counter by a given value.
- def countValueWith[A](name: String, tags: Label*)(f: (A) => Double): MetricAspect[A]
A metric aspect that increments the specified counter by a given value.
- 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])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @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
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def observeDurations[A](name: String, boundaries: Chunk[Double], tags: Label*)(f: (Duration) => Double): MetricAspect[A]
A metric aspect that tracks how long the effect it is applied to takes to complete execution, recording the results in a histogram.
- def observeHistogram(name: String, boundaries: Chunk[Double], tags: Label*): MetricAspect[Double]
A metric aspect that adds a value to a histogram each time the effect it is applied to succeeds.
- def observeHistogramWith[A](name: String, boundaries: Chunk[Double], tags: Label*)(f: (A) => Double): MetricAspect[A]
A metric aspect that adds a value to a histogram each time the effect it is applied to succeeds, using the specified function to transform the value returned by the effect to the value to add to the histogram.
- def observeSummary(name: String, maxAge: Duration, maxSize: Int, error: Double, quantiles: Chunk[Double], tags: Label*): MetricAspect[Double]
A metric aspect that adds a value to a summary each time the effect it is applied to succeeds.
- def observeSummaryWith[A](name: String, maxAge: Duration, maxSize: Int, error: Double, quantiles: Chunk[Double], tags: Label*)(f: (A) => Double): MetricAspect[A]
A metric aspect that adds a value to a summary each time the effect it is applied to succeeds, using the specified function to transform the value returned by the effect to the value to add to the summary.
- def occurrences(name: String, setTag: String, tags: Label*): MetricAspect[String]
A metric aspect that counts the number of occurrences of each distinct value returned by the effect it is applied to.
- def occurrencesWith[A](name: String, setTag: String, tags: Label*)(f: (A) => String): MetricAspect[A]
A metric aspect that counts the number of occurrences of each distinct value returned by the effect it is applied to, using the specified function to transform the value returned by the effect to the value to count the occurrences of.
- def setGauge(name: String, tags: Label*): MetricAspect[Double]
A metric aspect that sets a gauge each time the effect it is applied to succeeds.
- def setGaugeWith[A](name: String, tags: Label*)(f: (A) => Double): MetricAspect[A]
A metric aspect that sets a gauge each time the effect it is applied to succeeds, using the specified function to transform the value returned by the effect to the value to set the gauge to.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()