Package

colossus

metrics

Permalink

package metrics

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. metrics
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. class BaseHistogram extends AnyRef

    Permalink

    This is the actual histogram data structure.

    This is the actual histogram data structure. It knows nothing of tags or metrics

  2. final case class BucketList(buckets: Vector[Int]) extends AnyVal with Product with Serializable

    Permalink
  3. case class BucketValue(value: Int, count: Int) extends Product with Serializable

    Permalink
  4. class Collection extends AnyRef

    Permalink
  5. class CollectionMap[T] extends AnyRef

    Permalink
  6. trait Collector extends AnyRef

    Permalink
  7. case class CollectorConfig(intervals: Seq[FiniteDuration]) extends Product with Serializable

    Permalink

    This is passed to new event collectors in addition to their own config.

    This is passed to new event collectors in addition to their own config.

    TODO: we might want to include global tags in here as well, and remove them from CollectionContext. This would mean event collectors would be constructed with global tagsinstead of them being passed in during collection, but right now that basically already happens since the tags are passed in during the collection's construction and then it passes it to each collector

    intervals

    The aggregation intervals configured for the MetricSystem this collection belongs to

  8. class Counter extends Collector

    Permalink
  9. class DuplicateMetricException extends Exception

    Permalink
  10. class Histogram extends Collector

    Permalink
  11. class IntervalAggregator extends Actor with ActorLogging

    Permalink
  12. class LoggerSender extends MetricSender

    Permalink
  13. class LoggerSenderActor extends Actor with ActorLogging with MetricsLogger

    Permalink

    Simple sender that just prints the stats to the log

  14. case class MetricAddress(components: List[String]) extends Product with Serializable

    Permalink
  15. trait MetricFormatter[T] extends AnyRef

    Permalink
  16. case class MetricFragment(address: MetricAddress, tags: TagMap, value: MetricValue) extends Product with Serializable

    Permalink
  17. class MetricInterval extends AnyRef

    Permalink
  18. type MetricMap = Map[MetricAddress, ValueMap]

    Permalink
  19. class MetricReporter extends Actor with ActorLogging

    Permalink
  20. case class MetricReporterConfig(metricAddress: MetricAddress, metricSenders: Seq[MetricSender], globalTags: Option[TagGenerator] = None, filters: MetricReporterFilter = MetricReporterFilter.All, includeHostInGlobalTags: Boolean = true) extends Product with Serializable

    Permalink

    Configuration class for the metric reporter

    Configuration class for the metric reporter

    metricAddress

    The MetricAddress of the MetricSystem that this reporter is a member

    metricSenders

    A list of MetricSender instances that the reporter will use to send metrics

  21. sealed trait MetricReporterFilter extends AnyRef

    Permalink

    Tells a MetricReporter how to filter its Metrics before handing off to a Sender.

  22. trait MetricSender extends AnyRef

    Permalink
  23. case class MetricSystem extends Product with Serializable

    Permalink

    The MetricSystem is a set of actors which handle the background operations of dealing with metrics.

    The MetricSystem is a set of actors which handle the background operations of dealing with metrics. In most cases, you only want to have one MetricSystem per application.

    Metrics are generated periodically by a Tick message published on the global event bus. By default this happens once per second, but it can be configured to any time interval. So while events are being collected as they occur, compiled metrics (such as rates and histogram percentiles) are generated once per tick.

  24. type MetricValue = Long

    Permalink
  25. case class OpenTsdbSender(host: String, port: Int) extends MetricSender with Product with Serializable

    Permalink
  26. class OpenTsdbSenderActor extends Actor with ActorLogging with MetricsLogger

    Permalink
  27. class OpenTsdbWatchdog extends Actor with ActorLogging

    Permalink
  28. class Rate extends Collector

    Permalink
  29. implicit final class RichMetricMap extends AnyVal

    Permalink
  30. implicit final class RichTagMap extends AnyVal

    Permalink
  31. case class Snapshot(min: Int, max: Int, mean: Int, count: Int, bucketValues: Vector[BucketValue]) extends Product with Serializable

    Permalink
  32. class SystemMetricsCollector extends AnyRef

    Permalink
  33. trait TagGenerator extends AnyRef

    Permalink
  34. type TagMap = Map[String, String]

    Permalink
  35. type ValueMap = Map[TagMap, MetricValue]

    Permalink

Value Members

  1. object Counter

    Permalink
  2. object Histogram

    Permalink

    A Basic log-scale histogram, mainly designed to measure latency

    A Basic log-scale histogram, mainly designed to measure latency

    Each bucket handles an increasingly large range of values from 0 to MAX_INT.

  3. object IntervalAggregator

    Permalink
  4. object LoggerSender extends MetricSender

    Permalink
  5. object MetricAddress extends Serializable

    Permalink
  6. object MetricMap

    Permalink
  7. object MetricReporter

    Permalink
  8. object MetricReporterFilter

    Permalink
  9. object MetricSender

    Permalink
  10. object MetricSystem extends Serializable

    Permalink
  11. object OpenTsdbFormatter extends MetricFormatter[String]

    Permalink
  12. object OpenTsdbWatchdog

    Permalink
  13. object Rate

    Permalink
  14. object TagMap

    Permalink
  15. object ValueMap

    Permalink
  16. package senders

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped