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 Collection extends AnyRef

    Permalink
  2. class CollectionInterval extends AnyRef

    Permalink
  3. trait Collector extends AnyRef

    Permalink

    Base trait required by all metric types.

  4. 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

    baseConfig

    A typesafe config object that contains all the config for collectors configured using typesafe config

    collectorDefaults

    a typesafe config object for collector defaults

  5. class DuplicateMetricException extends Exception

    Permalink
  6. class FiniteDurationExpectedException extends Exception

    Permalink
  7. class IntervalAggregator extends Actor with ColossusLogging

    Permalink
  8. class InvalidHostAddressException extends IllegalArgumentException

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

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

    Permalink
  11. trait MetricFormatter[T] extends AnyRef

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

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

    Permalink
  14. 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")
  15. class MetricReporter extends Actor with ColossusLogging

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

    globalTags

    A map of tags to be used throughout the MetricReporter.

    filters

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

    includeHostInGlobalTags

    Whether to include the Host in the global tags.

  17. sealed trait MetricReporterFilter extends AnyRef

    Permalink

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

  18. trait MetricSender extends AnyRef

    Permalink
  19. class MetricSystem extends MetricNamespace

    Permalink

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

  20. 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.

    systemMetrics

    a namespace config for system metrics, defaults to "/name" where name is the name of the metric system

    collectorConfig

    a typesafe config object containing configurations for individual collectors

  21. type MetricValue = Long

    Permalink
  22. implicit final class RichMetricMap extends AnyVal

    Permalink
  23. implicit final class RichTagMap extends AnyVal

    Permalink
  24. class SystemMetricsCollector extends AnyRef

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

    Permalink
  26. trait TagGenerator extends AnyRef

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

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

    Permalink

Value Members

  1. object Collection

    Permalink
  2. object ConfigHelpers

    Permalink
  3. object IntervalAggregator

    Permalink
  4. object MetricAddress extends Serializable

    Permalink
  5. object MetricMap

    Permalink
  6. object MetricReporter

    Permalink
  7. object MetricReporterFilter

    Permalink
  8. object MetricSender

    Permalink
  9. object MetricSystem

    Permalink

    Factory for colossus.metrics.MetricSystem instances

  10. object MetricSystemConfig extends Serializable

    Permalink
  11. object OpenTsdbFormatter extends MetricFormatter[String]

    Permalink
  12. object TagMap

    Permalink
  13. object ValueMap

    Permalink
  14. package collectors

    Permalink
  15. package logging

    Permalink
  16. package senders

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped