@DefaultAnnotation(org.checkerframework.checker.nullness.qual.NonNull.class) @Experimental(METRICS)

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.