Packages

class MetricsStatsReceiver extends StatsReceiverWithCumulativeGauges with CollisionTrackingStatsReceiver 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. CollisionTrackingStatsReceiver
  4. StatsReceiverWithCumulativeGauges
  5. StatsReceiver
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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(metricBuilder: MetricBuilder)(f: => Float): Gauge
    Definition Classes
    MetricsStatsReceiver → StatsReceiverWithCumulativeGauges → StatsReceiver
  5. final def addGauge(f: Supplier[Float], verbosity: Verbosity, name: String*): Gauge
    Definition Classes
    StatsReceiver
    Annotations
    @varargs()
  6. def addGauge(f: Supplier[Float], name: String*): Gauge
    Definition Classes
    StatsReceiver
    Annotations
    @varargs()
  7. final def addGauge(description: String, verbosity: Verbosity, name: String*)(f: => Float): Gauge
    Definition Classes
    StatsReceiver
  8. final def addGauge(verbosity: Verbosity, name: String*)(f: => Float): Gauge
    Definition Classes
    StatsReceiver
  9. def addGauge(description: Some[String], name: String*)(f: => Float): Gauge
    Definition Classes
    StatsReceiver
  10. def addGauge(name: String*)(f: => Float): Gauge
    Definition Classes
    StatsReceiver
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. def counter(metricBuilder: MetricBuilder): 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
  14. final def counter(description: String, verbosity: Verbosity, name: String*): Counter
    Definition Classes
    StatsReceiver
    Annotations
    @varargs()
  15. final def counter(verbosity: Verbosity, name: String*): Counter
    Definition Classes
    StatsReceiver
    Annotations
    @varargs()
  16. final def counter(description: Some[String], name: String*): Counter
    Definition Classes
    StatsReceiver
    Annotations
    @varargs()
  17. def counter(name: String*): Counter
    Definition Classes
    StatsReceiver
    Annotations
    @varargs()
  18. def deregisterGauge(metricBuilder: MetricBuilder): Unit
    Attributes
    protected[this]
    Definition Classes
    MetricsStatsReceiver → StatsReceiverWithCumulativeGauges
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  21. def executor: Executor

    Overrides the executor that manages cumulative gauges to use the same executor that backs FuturePool.unboundedPool.

    Overrides the executor that manages cumulative gauges to use the same executor that backs FuturePool.unboundedPool.

    Definition Classes
    MetricsStatsReceiver → StatsReceiverWithCumulativeGauges
  22. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. def histogramDetails: Map[String, HistogramDetail]
    Definition Classes
    MetricsStatsReceiver → WithHistogramDetails
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def isNull: Boolean
    Definition Classes
    StatsReceiver
  28. def largeGaugeLinterRule: Rule
    Definition Classes
    StatsReceiverWithCumulativeGauges
  29. def metricsCollisionsLinterRule: Rule
    Definition Classes
    MetricsStatsReceiver → CollisionTrackingStatsReceiver
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. def numUnderlying(name: String*): Int
    Attributes
    protected
    Definition Classes
    StatsReceiverWithCumulativeGauges
  34. def provideGauge(f: Supplier[Float], name: String*): Unit
    Definition Classes
    StatsReceiver
    Annotations
    @varargs()
  35. def provideGauge(name: String*)(f: => Float): Unit
    Definition Classes
    StatsReceiver
  36. def registerExpression(expressionSchema: ExpressionSchema): Try[Unit]
    Definition Classes
    MetricsStatsReceiver → StatsReceiver
  37. def registerGauge(metricBuilder: MetricBuilder, f: => Float): Unit
    Attributes
    protected[this]
    Definition Classes
    MetricsStatsReceiver → StatsReceiverWithCumulativeGauges
  38. val registry: Metrics
  39. def repr: MetricsStatsReceiver
    Definition Classes
    MetricsStatsReceiver → StatsReceiver
  40. final def scope(namespaces: String*): StatsReceiver
    Definition Classes
    StatsReceiver
    Annotations
    @varargs()
  41. def scope(namespace: String): StatsReceiver
    Definition Classes
    StatsReceiver
  42. def scopeSuffix(suffix: String): StatsReceiver
    Definition Classes
    StatsReceiver
  43. def stat(metricBuilder: MetricBuilder): 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
  44. final def stat(description: String, verbosity: Verbosity, name: String*): Stat
    Definition Classes
    StatsReceiver
    Annotations
    @varargs()
  45. final def stat(verbosity: Verbosity, name: String*): Stat
    Definition Classes
    StatsReceiver
    Annotations
    @varargs()
  46. final def stat(description: Some[String], name: String*): Stat
    Definition Classes
    StatsReceiver
    Annotations
    @varargs()
  47. def stat(name: String*): Stat
    Definition Classes
    StatsReceiver
    Annotations
    @varargs()
  48. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  49. def toString(): String
    Definition Classes
    MetricsStatsReceiver → AnyRef → Any
  50. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  51. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  52. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def metricBuilder(metricType: MetricType): MetricBuilder
    Definition Classes
    StatsReceiver
    Annotations
    @deprecated
    Deprecated

    (Since version 2022-05-11) Construct a MetricBuilder using its apply method

Inherited from WithHistogramDetails

Inherited from StatsReceiver

Inherited from AnyRef

Inherited from Any

Ungrouped