com.tritondigital

counters

package counters

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. counters
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class DoubleValue(value: Double) extends MetricValue with Product with Serializable

  2. class JitteredScheduler extends Runnable

  3. trait Logging extends AnyRef

  4. case class LongValue(value: Long) extends MetricValue with Product with Serializable

  5. case class Metric(name: String, value: MetricValue, tags: Seq[Tag] = Nil, tstamp: Long = System.currentTimeMillis() / 1000L) extends Product with Serializable

    A metrics suitable for ingestion in a Datadog time series database.

    A metrics suitable for ingestion in a Datadog time series database. Although it can in theory be published anywhere, this is closely modeled after OpenTSDB metric model and binary protocol.

  6. class MetricDeduplicatingFilter extends Logging with ScalaMetricFilter

    Typically you want to gather data about everything in your system.

    Typically you want to gather data about everything in your system. This generates a lot of datapoints, the majority of which don't change very often over time (if ever). However, you want fine-grained resolution when they do change. This filter remembers the last value and timestamp that was sent for all of the time series. If the value doesn't change between sample intervals, it suppresses sending that datapoint. Once the value does change (or 10 minutes have passed), it sends the last suppressed value and timestamp, plus the current value and timestamp. In this way all of your graphs and such are correct. Deduplication typically reduces the number of datapoints TSD needs to collect by a large fraction. This reduces network load and storage in the backend.

  7. abstract class MetricFilter extends ScalaMetricFilter

  8. class MetricPrefixFilter extends ScalaMetricFilter

  9. sealed trait MetricValue extends AnyRef

  10. trait Metrics extends AnyRef

  11. class MetricsBuilder extends AnyRef

  12. trait MetricsProvider extends AnyRef

    Main API for the metrics publisher.

    Main API for the metrics publisher. Implement this interface to provide more metrics.

  13. class MetricsPublicationCoordinator extends Logging

    Guarantees that we are not starting an other publication round if previous one has not finished yet.

  14. trait MetricsPublisher extends AnyRef

    Publishes some metrics somewhere.

    Publishes some metrics somewhere. This is usually called by a scheduler on regular intervals. *

  15. class MetricsSystemFactory extends Logging

    Main entry point for the Triton Counters.

    Main entry point for the Triton Counters. This is starting the metrics system and provide various extension points.

  16. case class PublisherTask(publisher: MetricsPublisher, task: Future[Unit] = Future.successful(())) extends Logging with Product with Serializable

  17. trait ScalaMetricFilter extends AnyRef

  18. class SimpleMetrics extends Metrics with MetricsProvider with Logging

    Thread safe implementation of Metrics, using Codahale for computing stats.

  19. case class Tag(key: String, value: String) extends Ordered[Tag] with Product with Serializable

Value Members

  1. object FilterNoMetric extends ScalaMetricFilter

  2. object Metric extends Serializable

  3. object Tag extends Serializable

  4. package akka

  5. package codahale

  6. package datadog

  7. package jmx

  8. package logback

  9. def using[CLO <: AnyRef { def close(): Unit }, T](closeable: CLO)(action: (CLO) ⇒ T): T

  10. package util

Inherited from AnyRef

Inherited from Any

Ungrouped