Packages

object MetricAspect

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MetricAspect
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def adjustGauge(name: String, tags: Label*): MetricAspect[Double]

    A metric aspect that adjusts a gauge each time the effect it is applied to succeeds.

  5. 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.

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. 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.

  9. 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.

  10. def countValue(name: String, tags: Label*): MetricAspect[Double]

    A metric aspect that increments the specified counter by a given value.

  11. def countValueWith[A](name: String, tags: Label*)(f: (A) => Double): MetricAspect[A]

    A metric aspect that increments the specified counter by a given value.

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. 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.

  22. 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.

  23. 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.

  24. 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.

  25. 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.

  26. 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.

  27. 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.

  28. def setGauge(name: String, tags: Label*): MetricAspect[Double]

    A metric aspect that sets a gauge each time the effect it is applied to succeeds.

  29. 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.

  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped