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.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- MetricsStatsReceiver
- WithHistogramDetails
- StatsReceiverWithCumulativeGauges
- StatsReceiver
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
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(verbosity: Verbosity, name: String*)(f: ⇒ Float): Gauge
- Definition Classes
- MetricsStatsReceiver → StatsReceiverWithCumulativeGauges → StatsReceiver
-
def
addGauge(name: String*)(f: ⇒ Float): Gauge
- Definition Classes
- StatsReceiver
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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
-
def
counter(name: String*): Counter
- Definition Classes
- StatsReceiver
- Annotations
- @varargs()
-
def
deregisterGauge(name: Seq[String]): Unit
- Attributes
- protected[this]
- Definition Classes
- MetricsStatsReceiver → StatsReceiverWithCumulativeGauges
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- 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
-
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(name: String*)(f: ⇒ Float): Unit
- Definition Classes
- StatsReceiver
-
def
registerGauge(verbosity: Verbosity, name: Seq[String], 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(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
-
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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
Deprecated Value Members
-
def
counter0(name: String): Counter
- Definition Classes
- StatsReceiver
- Annotations
- @deprecated
- Deprecated
(Since version 2017-6-16) Use vararg counter() instead
-
def
stat0(name: String): Stat
- Definition Classes
- StatsReceiver
- Annotations
- @deprecated
- Deprecated
(Since version 2017-6-16) Use vararg stat() instead