Package org.apache.beam.sdk.metrics
@DefaultAnnotation(org.checkerframework.checker.nullness.qual.NonNull.class)
package org.apache.beam.sdk.metrics
Metrics allow exporting information about the execution of a pipeline. They are intended to be
used for monitoring and understanding the execution.
Metrics may also be queried from the PipelineResult object.
Runners should look at MetricsContainer for details on how
to support metrics.
-
ClassDescriptionInternal: For internal use only and not for public consumption.Internal: For internal use only and not for public consumption.A metric that reports a single long value and can be incremented or decremented.Implementation of
Counterthat delegates to the instance for the current context.Implementation ofDistributionthat delegates to the instance for the current context.Implementation ofGaugethat delegates to the instance for the current context.Implementation ofHistogramthat delegates to the instance for the current context.A metric that reports information about the distribution of reported values.The result of aDistributionmetric.A metric that reports the latest value out of reported values.The result of aGaugemetric.EmptyGaugeResult, representing no values reported.A metric that reports information about the histogram of reported values.Util class for building/parsing labeledMetricName.Builder class for a labeledMetricName.Standard collection of metrics used to record source and sinks information for lineage tracking.Lineage metrics resource types.Marker interface for all user-facing metrics.Implements matching for metrics filters.Metrics are keyed by the step name they are associated with and the name of the metric.The name of a metric consists of aMetricName.getNamespace()and aMetricName.getName().The name of a metric.The results of a query for metrics.MetricResult<T>The results of a single current metric.Methods for interacting with the metrics of a pipeline that has been executed.TheMetricsis a utility class for producing various kinds of metrics for reporting properties of an executing pipeline.Holds the metrics for a single step.Manages and provides the metrics container associated with each thread.Set theMetricsContainerfor the associatedMetricsEnvironment.Simple POJO representing a filter for querying metrics.Builder for creating aMetricsFilter.Extension ofPipelineOptionsthat definesMetricsSinkspecific options.ADefaultValueFactorythat obtains the class of theNoOpMetricsSinkif it exists on the classpath, and throws an exception otherwise.Interface for all metric sinks.A no-op implementation of Counter.A no-op implementation of Histogram.Standard Sink Metrics.StandardSourceMetrics.A metric that reports set of unique string values.The result of aStringSetmetric.EmptyStringSetResult, representing no values reported and is immutable.