Merge pull request #126121 from mimowo/job-metrics-reasons-update

Update the set of reasons in comment for JobFinishedNum metric
This commit is contained in:
Kubernetes Prow Robot
2024-07-16 08:15:19 -07:00
committed by GitHub

View File

@@ -60,7 +60,7 @@ var (
// Possible label values:
// completion_mode: Indexed, NonIndexed
// result: failed, succeeded
// reason: "BackoffLimitExceeded", "DeadlineExceeded", "PodFailurePolicy", ""
// reason: "BackoffLimitExceeded", "DeadlineExceeded", "PodFailurePolicy", "FailedIndexes", "MaxFailedIndexesExceeded", ""
JobFinishedNum = metrics.NewCounterVec(
&metrics.CounterOpts{
Subsystem: JobControllerSubsystem,