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.
- Alphabetic
- By Inheritance
- MetricsStatsReceiver
- WithHistogramDetails
- CollisionTrackingStatsReceiver
- StatsReceiverWithCumulativeGauges
- StatsReceiver
- 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 addGauge(metricBuilder: MetricBuilder)(f: => Float): Gauge
- Definition Classes
- MetricsStatsReceiver → StatsReceiverWithCumulativeGauges → StatsReceiver
- final def addGauge(f: Supplier[Float], verbosity: Verbosity, name: String*): Gauge
- Definition Classes
- StatsReceiver
- Annotations
- @varargs()
- def addGauge(f: Supplier[Float], name: String*): Gauge
- Definition Classes
- StatsReceiver
- Annotations
- @varargs()
- final def addGauge(description: String, verbosity: Verbosity, name: String*)(f: => Float): Gauge
- Definition Classes
- StatsReceiver
- final def addGauge(verbosity: Verbosity, name: String*)(f: => Float): Gauge
- Definition Classes
- StatsReceiver
- def addGauge(description: Some[String], name: String*)(f: => Float): Gauge
- Definition Classes
- StatsReceiver
- def addGauge(name: String*)(f: => Float): Gauge
- Definition Classes
- StatsReceiver
- 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 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
- final def counter(description: String, verbosity: Verbosity, name: String*): Counter
- Definition Classes
- StatsReceiver
- Annotations
- @varargs()
- final def counter(verbosity: Verbosity, name: String*): Counter
- Definition Classes
- StatsReceiver
- Annotations
- @varargs()
- final def counter(description: Some[String], name: String*): Counter
- Definition Classes
- StatsReceiver
- Annotations
- @varargs()
- def counter(name: String*): Counter
- Definition Classes
- StatsReceiver
- Annotations
- @varargs()
- def deregisterGauge(metricBuilder: MetricBuilder): Unit
- Attributes
- protected[this]
- Definition Classes
- MetricsStatsReceiver → StatsReceiverWithCumulativeGauges
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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
- 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()
- def histogramDetails: Map[String, HistogramDetail]
- Definition Classes
- MetricsStatsReceiver → WithHistogramDetails
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isNull: Boolean
- Definition Classes
- StatsReceiver
- def largeGaugeLinterRule: Rule
- Definition Classes
- StatsReceiverWithCumulativeGauges
- def metricsCollisionsLinterRule: Rule
- Definition Classes
- MetricsStatsReceiver → CollisionTrackingStatsReceiver
- 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 numUnderlying(name: String*): Int
- Attributes
- protected
- Definition Classes
- StatsReceiverWithCumulativeGauges
- def provideGauge(f: Supplier[Float], name: String*): Unit
- Definition Classes
- StatsReceiver
- Annotations
- @varargs()
- def provideGauge(name: String*)(f: => Float): Unit
- Definition Classes
- StatsReceiver
- def registerExpression(expressionSchema: ExpressionSchema): Try[Unit]
- Definition Classes
- MetricsStatsReceiver → StatsReceiver
- def registerGauge(metricBuilder: MetricBuilder, f: => Float): Unit
- Attributes
- protected[this]
- Definition Classes
- MetricsStatsReceiver → StatsReceiverWithCumulativeGauges
- val registry: Metrics
- def repr: MetricsStatsReceiver
- Definition Classes
- MetricsStatsReceiver → StatsReceiver
- final def scope(namespaces: String*): StatsReceiver
- Definition Classes
- StatsReceiver
- Annotations
- @varargs()
- def scope(namespace: String): StatsReceiver
- Definition Classes
- StatsReceiver
- def scopeSuffix(suffix: String): StatsReceiver
- Definition Classes
- StatsReceiver
- 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
- final def stat(description: String, verbosity: Verbosity, name: String*): Stat
- Definition Classes
- StatsReceiver
- Annotations
- @varargs()
- final def stat(verbosity: Verbosity, name: String*): Stat
- Definition Classes
- StatsReceiver
- Annotations
- @varargs()
- final def stat(description: Some[String], name: String*): Stat
- Definition Classes
- StatsReceiver
- Annotations
- @varargs()
- def stat(name: String*): Stat
- Definition Classes
- StatsReceiver
- Annotations
- @varargs()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- MetricsStatsReceiver → 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()
Deprecated Value Members
- def metricBuilder(metricType: MetricType): MetricBuilder
- Definition Classes
- StatsReceiver
- Annotations
- @deprecated
- Deprecated
(Since version 2022-05-11) Construct a MetricBuilder using its apply method