Packages

class MetricsStatsReceiver extends StatsReceiverWithCumulativeGauges with WithHistogramDetails

The standard implementation of StatsReceiver, optimized to be high precision and low overhead.

Note: Histogram is configured to store events in 60 second snapshots. It means that when you add a value, you need to wait at most 20 seconds before this value will be aggregated in the exported metrics.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MetricsStatsReceiver
  2. WithHistogramDetails
  3. StatsReceiverWithCumulativeGauges
  4. StatsReceiver
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MetricsStatsReceiver()
  2. new MetricsStatsReceiver(registry: Metrics)

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 addGauge(verbosity: Verbosity, name: String*)(f: ⇒ Float): Gauge
    Definition Classes
    MetricsStatsReceiver → StatsReceiverWithCumulativeGauges → StatsReceiver
  5. def addGauge(name: String*)(f: ⇒ Float): Gauge
    Definition Classes
    StatsReceiver
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def counter(verbosity: Verbosity, names: String*): Counter

    Create and register a counter inside the underlying Metrics library

    Create and register a counter inside the underlying Metrics library

    Definition Classes
    MetricsStatsReceiver → StatsReceiver
  9. def counter(name: String*): Counter
    Definition Classes
    StatsReceiver
    Annotations
    @varargs()
  10. def deregisterGauge(name: Seq[String]): Unit
    Attributes
    protected[this]
    Definition Classes
    MetricsStatsReceiver → StatsReceiverWithCumulativeGauges
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def histogramDetails: Map[String, HistogramDetail]
    Definition Classes
    MetricsStatsReceiver → WithHistogramDetails
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isNull: Boolean
    Definition Classes
    StatsReceiver
  19. def largeGaugeLinterRule: Rule
    Definition Classes
    StatsReceiverWithCumulativeGauges
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def numUnderlying(name: String*): Int
    Attributes
    protected
    Definition Classes
    StatsReceiverWithCumulativeGauges
  24. def provideGauge(name: String*)(f: ⇒ Float): Unit
    Definition Classes
    StatsReceiver
  25. def registerGauge(verbosity: Verbosity, name: Seq[String], f: ⇒ Float): Unit
    Attributes
    protected[this]
    Definition Classes
    MetricsStatsReceiver → StatsReceiverWithCumulativeGauges
  26. val registry: Metrics
  27. def repr: MetricsStatsReceiver
    Definition Classes
    MetricsStatsReceiver → StatsReceiver
  28. final def scope(namespaces: String*): StatsReceiver
    Definition Classes
    StatsReceiver
    Annotations
    @varargs()
  29. def scope(namespace: String): StatsReceiver
    Definition Classes
    StatsReceiver
  30. def scopeSuffix(suffix: String): StatsReceiver
    Definition Classes
    StatsReceiver
  31. def stat(verbosity: Verbosity, names: String*): Stat

    Create and register a stat (histogram) inside the underlying Metrics library

    Create and register a stat (histogram) inside the underlying Metrics library

    Definition Classes
    MetricsStatsReceiver → StatsReceiver
  32. def stat(name: String*): Stat
    Definition Classes
    StatsReceiver
    Annotations
    @varargs()
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    MetricsStatsReceiver → AnyRef → Any
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Deprecated Value Members

  1. def counter0(name: String): Counter
    Definition Classes
    StatsReceiver
    Annotations
    @deprecated
    Deprecated

    (Since version 2017-6-16) Use vararg counter() instead

  2. def stat0(name: String): Stat
    Definition Classes
    StatsReceiver
    Annotations
    @deprecated
    Deprecated

    (Since version 2017-6-16) Use vararg stat() instead

Inherited from WithHistogramDetails

Inherited from StatsReceiver

Inherited from AnyRef

Inherited from Any

Ungrouped