- {durations.length > 0 && (
- <>
-
- |
- DAG Runs Summary
- |
- |
-
-
- | Total Runs Displayed |
- {durations.length} |
-
- {stateSummary}
- {firstStart && (
-
- | First Run Start |
-
-
- |
-
- )}
- {lastStart && (
-
- | Last Run Start |
-
-
- |
-
- )}
-
- | Max Run Duration |
- {formatDuration(max)} |
-
-
- | Mean Run Duration |
- {formatDuration(avg)} |
-
-
- | Min Run Duration |
- {formatDuration(min)} |
-
- >
- )}
-
- |
- DAG Summary
- |
- |
-
-
- | Total Tasks |
- {taskSummary.taskCount} |
-
- {!!taskSummary.groupCount && (
-
- | Total Task Groups |
- {taskSummary.groupCount} |
-
- )}
- {Object.entries(taskSummary.operators).map(([key, value]) => (
-
- |
- {key}
- {value > 1 && "s"}
- |
- {value} |
-
- ))}
- {!isLoadingDagDetails && !!dagDetailsData && (
- <>
-
- |
- DAG Details
- |
- |
-
- {!!dagDetailsData.assetExpression && (
-
- | Asset Conditions |
-
-
-
- {JSON.stringify(
- dagDetailsData.assetExpression,
- null,
- 2
- )}
-
-
- |
-
- )}
- {renderDagDetailsData(dagDetailsData, dagDataExcludeFields)}
-
- | Owners |
-
-
- {dagDetailsData.owners?.map((owner) => (
-
- {owner}
-
- ))}
-
- |
-
-
- | Tags |
-
- {!!dagDetailsData.tags && dagDetailsData.tags?.length > 0 ? (
-
- {dagDetailsData.tags?.map((tag) => (
-
- ))}
-
- ) : (
- "No tags"
- )}
- |
-
-
- | Timetable |
-
- {dagDetailsData.timetableSummary || ""}
- |
-
-
- | Dag run timeout |
-
- {dagDetailsData.dagRunTimeout?.type === undefined ? (
- null
- ) : (
- // for TimeDelta and RelativeDelta
-
- )}
- |
-
-
- | Params |
-
-
- {JSON.stringify(dagDetailsData.params, null, 2)}
-
- |
-
- >
- )}
-
-