Class DeploymentStateTimeMetrics

java.lang.Object
org.apache.flink.runtime.scheduler.metrics.DeploymentStateTimeMetrics
All Implemented Interfaces:
ExecutionStateUpdateListener, MetricsRegistrar, StateTimeMetric

public class DeploymentStateTimeMetrics extends Object implements ExecutionStateUpdateListener, StateTimeMetric, MetricsRegistrar
Metrics that capture how long a job was deploying tasks.

These metrics differentiate between batch & streaming use-cases:

Batch: Measures from the start of the first deployment until the first task has been deployed. From that point the job is making progress.

Streaming: Measures from the start of the first deployment until all tasks have been deployed. From that point on checkpoints can be triggered, and thus progress be made.

  • Constructor Details

    • DeploymentStateTimeMetrics

      public DeploymentStateTimeMetrics(JobType semantic, org.apache.flink.configuration.MetricOptions.JobStatusMetricsSettings stateTimeMetricsSettings)
  • Method Details