Package

com.spotify.scio

metrics

Permalink

package metrics

This package contains the schema types for metrics collected during a pipeline run.

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. final case class BeamDistribution(sum: Long, count: Long, min: Long, max: Long, mean: Double) extends Product with Serializable

    Permalink
  2. final case class BeamGauge(value: Long, timestamp: Instant) extends Product with Serializable

    Permalink
  3. final case class BeamMetric[T](namespace: String, name: String, value: MetricValue[T]) extends Product with Serializable

    Permalink
  4. final case class BeamMetrics(counters: Iterable[BeamMetric[Long]], distributions: Iterable[BeamMetric[BeamDistribution]], gauges: Iterable[BeamMetric[BeamGauge]]) extends Product with Serializable

    Permalink
  5. final case class MetricValue[T](attempted: T, committed: Option[T]) extends Product with Serializable

    Permalink

    Contains the aggregated value of a metric.

    Contains the aggregated value of a metric. See ScioResult.allCounters, ScioResult.allDistributions and ScioResult.allGauges.

    attempted

    The value across all attempts of executing all parts of the pipeline.

    committed

    The value across all successfully completed parts of the pipeline.

  6. final case class Metrics(version: String, scalaVersion: String, appName: String, state: String, beamMetrics: BeamMetrics) extends Product with Serializable

    Permalink

    Case class holding metadata and service-level metrics of the job.

    Case class holding metadata and service-level metrics of the job. See ScioResult.getMetrics.

Inherited from AnyRef

Inherited from Any

Ungrouped