diff --git a/python/ray/dashboard/modules/metrics/dashboards/data_dashboard_panels.py b/python/ray/dashboard/modules/metrics/dashboards/data_dashboard_panels.py index 66f5a1cb103e..6aefed74c2b0 100644 --- a/python/ray/dashboard/modules/metrics/dashboards/data_dashboard_panels.py +++ b/python/ray/dashboard/modules/metrics/dashboards/data_dashboard_panels.py @@ -1050,6 +1050,36 @@ stack=False, ) +ITERATION_TIME_TO_FIRST_BATCH_PANEL = Panel( + id=120, + title="Iteration Time to First Batch", + description="Seconds spent waiting for the first batch after starting iteration", + unit="seconds", + targets=[ + Target( + expr="sum(ray_data_iter_time_to_first_batch_seconds{{{global_filters}}}) by (dataset)", + legend="Seconds: {{dataset}}", + ) + ], + fill=0, + stack=False, +) + +ITERATION_GET_REF_BUNDLES_PANEL = Panel( + id=121, + title="Iteration Get Ref Bundles Time", + description="Seconds spent getting RefBundles from the dataset iterator", + unit="seconds", + targets=[ + Target( + expr="sum(ray_data_iter_get_ref_bundles_seconds{{{global_filters}}}) by (dataset)", + legend="Seconds: {{dataset}}", + ) + ], + fill=0, + stack=False, +) + # Ray Data Metrics (Miscellaneous) SCHEDULING_LOOP_DURATION_PANEL = Panel( id=47, @@ -1390,6 +1420,8 @@ ITERATION_BLOCKS_LOCAL_PANEL, ITERATION_BLOCKS_REMOTE_PANEL, ITERATION_BLOCKS_UNKNOWN_LOCATION_PANEL, + ITERATION_TIME_TO_FIRST_BATCH_PANEL, + ITERATION_GET_REF_BUNDLES_PANEL, ], collapsed=True, ),