com.twitter.ostrich

stats

package stats

Visibility
  1. Public
  2. All

Type Members

  1. class Counter extends AnyRef

    A Counter simply keeps track of how many times an event occurred.

  2. case class Distribution(histogram: Histogram) extends JsonSerializable with Product with Serializable

    A set of data points summarized into a histogram, mean, min, and max.

  3. class FanoutCounter extends Counter

    A Counter that sends modifications to a set of "fanout" counters also.

  4. class FanoutMetric extends Metric

  5. class FanoutStatsCollection extends StatsCollection

    A StatsCollection that sends counter and metric updates to a set of other (fanout) collections.

  6. class GraphiteStatsLogger extends PeriodicBackgroundProcess

    Log all collected stats to Graphite

  7. class GraphiteStatsLoggerFactory extends StatsReporterFactory

  8. class Histogram extends AnyRef

  9. class JsonStatsLogger extends PeriodicBackgroundProcess

    Log all collected stats as a json line to a java logger at a regular interval.

  10. class LatchedStatsListener extends StatsListener

    A StatsListener that cycles over a given period, and once each period, grabs a snapshot of the given StatsCollection and computes deltas since the previous timeslice.

  11. class LocalStatsCollection extends FanoutStatsCollection

    A StatsCollection that sends counter and metric updates to the global Stats object as they happen, and can be asked to flush its stats back into another StatsCollection with a prefix.

  12. class Metric extends AnyRef

    A Metric collates data points and can report a Distribution.

  13. class StatsCollection extends StatsProvider with JsonSerializable

    Concrete StatsProvider that tracks counters and timings.

  14. class StatsListener extends AnyRef

    Attaches to a StatsCollection and reports on all the counters, metrics, gauges, and labels.

  15. trait StatsProvider extends AnyRef

    Trait for anything that collects counters, timings, and gauges, and can report them in name/value maps.

  16. case class StatsSummary(counters: Map[String, Long], metrics: Map[String, Distribution], gauges: Map[String, Double], labels: Map[String, String]) extends Product with Serializable

    Immutable summary of counters, metrics, gauges, and labels.

  17. trait TransactionalStatsCollection extends AnyRef

    Coalesce all events (counters, timings, etc.

  18. class W3CStats extends TransactionalStatsCollection

    Dump "w3c" style stats to a logger.

  19. class W3CStatsLogger extends PeriodicBackgroundProcess

    Log all collected w3c stats at a regular interval.

  20. class GraphiteStatsLoggerConfig extends StatsReporterConfig

    Write stats to Graphite.

Value Members

  1. object DevNullStats extends StatsProvider

    A StatsProvider that doesn't actually save or report anything.

  2. object Histogram

  3. object LocalStatsCollection

    Get the StatsCollection for your "local state".

  4. object Stats extends StatsCollection

    Singleton StatsCollector that collects performance data for the application.

  5. object StatsListener

Deprecated Value Members

  1. object ThreadLocalStatsCollection

    Get a StatsCollection specific to this thread.

Ungrouped