Class/Object

com.twitter.finagle.stats

MetricsStatsReceiver

Related Docs: object MetricsStatsReceiver | package stats

Permalink

class MetricsStatsReceiver extends WithHistogramDetails with StatsReceiverWithCumulativeGauges

This implementation of StatsReceiver uses the com.twitter.common.metrics library under the hood.

Note: Histogram uses com.twitter.common.stats.WindowedApproxHistogram under the hood. It is (by default) configured to store events in a 80 seconds moving window, reporting metrics on the first 60 seconds. 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
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MetricsStatsReceiver
  2. StatsReceiverWithCumulativeGauges
  3. StatsReceiver
  4. WithHistogramDetails
  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
  3. new MetricsStatsReceiver(registry: Metrics, sink: Sink)

    Permalink
  4. new MetricsStatsReceiver(registry: Metrics, sink: Sink, histogramFactory: (String) ⇒ HistogramInterface)

    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(name: String*)(f: ⇒ Float): Gauge

    Permalink
    Definition Classes
    MetricsStatsReceiver → StatsReceiverWithCumulativeGauges → StatsReceiver
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def counter(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
  8. def counter0(name: String): Counter

    Permalink
    Definition Classes
    StatsReceiver
  9. def deregisterGauge(names: Seq[String]): Unit

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  17. def isNull: Boolean

    Permalink
    Definition Classes
    StatsReceiver
  18. def largeGaugeLinterRule: Rule

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

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

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

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

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

    Permalink
    Definition Classes
    StatsReceiver
  24. def registerGauge(names: Seq[String], f: ⇒ Float): Unit

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

    Permalink
  26. val repr: MetricsStatsReceiver

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

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

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

    Permalink
    Definition Classes
    StatsReceiver
  30. def stat(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
  31. def stat0(name: String): Stat

    Permalink
    Definition Classes
    StatsReceiver
  32. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from StatsReceiver

Inherited from WithHistogramDetails

Inherited from AnyRef

Inherited from Any

Ungrouped