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. sealed trait BucketConfig extends AnyRef

    Permalink

    Configuration object for how a histogram's buckets should be specified

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

    Permalink

    A BucketList contains an ascending-sorted list of lower bounds to use as buckets for a histogram.

    A BucketList contains an ascending-sorted list of lower bounds to use as buckets for a histogram. A value added to a histogram will get added to the first bucket whose lower bound is less then the value.

  3. class Collection extends AnyRef

    Permalink
  4. class CollectionInterval extends AnyRef

    Permalink
  5. trait Collector extends AnyRef

    Permalink

    Base trait required by all metric types.

  6. case class CollectorConfig(intervals: Seq[FiniteDuration], baseConfig: Config, collectorDefaults: Config) extends Product with Serializable

    Permalink

    A config object passed to new event collectors in addition to their own config.

    A config object passed to new event collectors in addition to their own config.

    intervals

    The aggregation intervals configured for the MetricSystem this collection belongs to

    collectorDefaults

    a typesafe config object for collector defaults

  7. trait Counter extends Collector

    Permalink

    Metrics Collector which track Long values.

    Metrics Collector which track Long values. A single Counter instance divides counter values up by tag maps and track each one independently. When they are collected and reported, all TagMaps will be reported under the same MetricAddress.

  8. class DefaultHistogram extends Histogram

    Permalink
  9. class DuplicateMetricException extends Exception

    Permalink
  10. class FiniteDurationExpectedException extends Exception

    Permalink
  11. trait Histogram extends Collector

    Permalink

    Metrics Collector which measures the distribution of values.

    Metrics Collector which measures the distribution of values. A single Histogram instance divides valuess up by TagMaps and track each one independently When they are collected and reported, all TagMaps will be reported under the same MetricAddress.

  12. class IntervalAggregator extends Actor with ActorLogging

    Permalink
  13. class InvalidHostAddressException extends IllegalArgumentException

    Permalink
  14. class LoggerSender extends MetricSender

    Permalink
  15. class LoggerSenderActor extends Actor with ActorLogging with MetricsLogger

    Permalink

    Simple sender that just prints the stats to the log

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

    Permalink
  17. case class MetricContext(namespace: MetricAddress, collection: Collection, tags: TagMap = TagMap.Empty) extends MetricNamespace with Product with Serializable

    Permalink
  18. trait MetricFormatter[T] extends AnyRef

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

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

    Permalink
  21. trait MetricNamespace extends AnyRef

    Permalink

    A MetricNamespace is essentially just an address prefix and set of tags.

    A MetricNamespace is essentially just an address prefix and set of tags. It is needed when getting or creating collectors. The namespace address is prefixed onto the given address for the collector to create the full address. Tags are added to each collector under under this context.

    val subnameSpace: MetricContext = namespace / "foo" * ("a" -> "b")
  22. class MetricReporter extends Actor with ActorLogging

    Permalink
  23. case class MetricReporterConfig(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

    metricSenders

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

  24. sealed trait MetricReporterFilter extends AnyRef

    Permalink

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

  25. trait MetricSender extends AnyRef

    Permalink
  26. class MetricSystem extends MetricNamespace

    Permalink

    The MetricSystem provides the environment for creating metrics and is required to create collectors.

  27. case class MetricSystemConfig(enabled: Boolean, name: String, systemMetrics: SystemMetricsConfig, collectorConfig: CollectorConfig) extends Product with Serializable

    Permalink

    Configuration object for a MetricSystem

    Configuration object for a MetricSystem

    enabled

    true to enable all functionality. Setting to false will effectively create a dummy system that does nothing

    name

    The name of the metric system. Name is not used in the root path of a metric system.

  28. type MetricValue = Long

    Permalink
  29. class NopHistogram extends Histogram

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

    Permalink
  31. class OpenTsdbSenderActor extends Actor with ActorLogging with MetricsLogger

    Permalink
  32. class OpenTsdbWatchdog extends Actor with ActorLogging

    Permalink
  33. trait Rate extends Collector

    Permalink

    Metrics Collector which increments a value and resets after collection.

  34. implicit final class RichMetricMap extends AnyVal

    Permalink
  35. implicit final class RichTagMap extends AnyVal

    Permalink
  36. class SystemMetricsCollector extends AnyRef

    Permalink
  37. case class SystemMetricsConfig(enabled: Boolean, namespace: MetricAddress) extends Product with Serializable

    Permalink
  38. trait TagGenerator extends AnyRef

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

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

    Permalink

Value Members

  1. object BucketConfig

    Permalink
  2. object Collection

    Permalink
  3. object ConfigHelpers

    Permalink
  4. object Counter

    Permalink
  5. 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.

  6. object IntervalAggregator

    Permalink
  7. object LoggerSender extends MetricSender

    Permalink
  8. object MetricAddress extends Serializable

    Permalink
  9. object MetricMap

    Permalink
  10. object MetricReporter

    Permalink
  11. object MetricReporterFilter

    Permalink
  12. object MetricSender

    Permalink
  13. object MetricSystem

    Permalink

    Factory for colossus.metrics.MetricSystem instances

  14. object MetricSystemConfig extends Serializable

    Permalink
  15. object OpenTsdbFormatter extends MetricFormatter[String]

    Permalink
  16. object OpenTsdbWatchdog

    Permalink
  17. object Rate

    Permalink
  18. object TagMap

    Permalink
  19. object ValueMap

    Permalink
  20. package senders

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped