com.twitter.finagle.stats

MetricsStatsReceiver

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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MetricsStatsReceiver()

  2. new MetricsStatsReceiver(registry: Metrics)

  3. new MetricsStatsReceiver(registry: Metrics, sink: Sink)

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

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addGauge(name: String*)(f: ⇒ Float): Gauge

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

    Definition Classes
    Any
  8. def clone(): AnyRef

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

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

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

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

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

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

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

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

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

    Definition Classes
    Any
  19. def isNull: Boolean

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

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

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

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

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

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

    Attributes
    protected[this]
    Definition Classes
    MetricsStatsReceiver → StatsReceiverWithCumulativeGauges
  26. def registerLargeGaugeLinter(rules: Rules): Unit

    Definition Classes
    StatsReceiverWithCumulativeGauges
  27. val registry: Metrics

  28. val repr: MetricsStatsReceiver

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

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

    Definition Classes
    StatsReceiver
  31. def scopeSuffix(suffix: String): StatsReceiver

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

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

    Definition Classes
    AnyRef
  35. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from StatsReceiver

Inherited from WithHistogramDetails

Inherited from AnyRef

Inherited from Any

Ungrouped