Class/Object

com.twitter.finagle.stats

MetricsStatsReceiver

Related Docs: object MetricsStatsReceiver | package stats

Permalink

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
WithHistogramDetails, StatsReceiverWithCumulativeGauges, StatsReceiver, AnyRef, Any
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()

    Permalink
  2. new MetricsStatsReceiver(registry: Metrics)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addGauge(verbosity: Verbosity, name: String*)(f: ⇒ Float): Gauge

    Permalink
    Definition Classes
    MetricsStatsReceiver → StatsReceiverWithCumulativeGauges → StatsReceiver
  5. def addGauge(name: String*)(f: ⇒ Float): Gauge

    Permalink
    Definition Classes
    StatsReceiver
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def counter(verbosity: Verbosity, names: String*): Counter

    Permalink

    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

    Permalink
    Definition Classes
    StatsReceiver
    Annotations
    @varargs()
  10. def deregisterGauge(name: Seq[String]): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MetricsStatsReceiver → StatsReceiverWithCumulativeGauges
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. def histogramDetails: Map[String, HistogramDetail]

    Permalink
    Definition Classes
    MetricsStatsReceiver → WithHistogramDetails
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def isNull: Boolean

    Permalink
    Definition Classes
    StatsReceiver
  19. def largeGaugeLinterRule: Rule

    Permalink
    Definition Classes
    StatsReceiverWithCumulativeGauges
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def numUnderlying(name: String*): Int

    Permalink
    Attributes
    protected
    Definition Classes
    StatsReceiverWithCumulativeGauges
  24. def provideGauge(name: String*)(f: ⇒ Float): Unit

    Permalink
    Definition Classes
    StatsReceiver
  25. def registerGauge(verbosity: Verbosity, name: Seq[String], f: ⇒ Float): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    MetricsStatsReceiver → StatsReceiverWithCumulativeGauges
  26. val registry: Metrics

    Permalink
  27. def repr: MetricsStatsReceiver

    Permalink
    Definition Classes
    MetricsStatsReceiver → StatsReceiver
  28. final def scope(namespaces: String*): StatsReceiver

    Permalink
    Definition Classes
    StatsReceiver
    Annotations
    @varargs()
  29. def scope(namespace: String): StatsReceiver

    Permalink
    Definition Classes
    StatsReceiver
  30. def scopeSuffix(suffix: String): StatsReceiver

    Permalink
    Definition Classes
    StatsReceiver
  31. def stat(verbosity: Verbosity, names: String*): Stat

    Permalink

    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

    Permalink
    Definition Classes
    StatsReceiver
    Annotations
    @varargs()
  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    MetricsStatsReceiver → AnyRef → Any
  35. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def counter0(name: String): Counter

    Permalink
    Definition Classes
    StatsReceiver
    Annotations
    @deprecated
    Deprecated

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

  2. def stat0(name: String): Stat

    Permalink
    Definition Classes
    StatsReceiver
    Annotations
    @deprecated
    Deprecated

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

Inherited from WithHistogramDetails

Inherited from StatsReceiverWithCumulativeGauges

Inherited from StatsReceiver

Inherited from AnyRef

Inherited from Any

Ungrouped