Class JobFailureMetricReporter
- java.lang.Object
-
- org.apache.flink.runtime.scheduler.adaptive.JobFailureMetricReporter
-
public class JobFailureMetricReporter extends Object
Helper class to simplify job failure reporting through a metric group.
-
-
Field Summary
Fields Modifier and Type Field Description static String
FAILURE_LABEL_ATTRIBUTE_PREFIX
-
Constructor Summary
Constructors Constructor Description JobFailureMetricReporter(MetricGroup metricGroup)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
reportJobFailure(FailureHandlingResult failureHandlingResult, Map<String,String> failureLabels)
void
reportJobFailure(org.apache.flink.runtime.scheduler.adaptive.FailureResult failureHandlingResult, Map<String,String> failureLabels)
-
-
-
Field Detail
-
FAILURE_LABEL_ATTRIBUTE_PREFIX
public static final String FAILURE_LABEL_ATTRIBUTE_PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JobFailureMetricReporter
public JobFailureMetricReporter(MetricGroup metricGroup)
-
-
Method Detail
-
reportJobFailure
public void reportJobFailure(FailureHandlingResult failureHandlingResult, Map<String,String> failureLabels)
-
-