Skip to content

Commit cd0881e

Browse files
authored
[data][dashboard] Add time_to_first_batch and get_ref_bundles to data dashboard attempt 2 (#58912)
Changed panel id's to avoid merge conflicts --------- Signed-off-by: Timothy Seah <[email protected]>
1 parent 7c4d4e3 commit cd0881e

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

python/ray/dashboard/modules/metrics/dashboards/data_dashboard_panels.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,6 +1050,36 @@
10501050
stack=False,
10511051
)
10521052

1053+
ITERATION_TIME_TO_FIRST_BATCH_PANEL = Panel(
1054+
id=120,
1055+
title="Iteration Time to First Batch",
1056+
description="Seconds spent waiting for the first batch after starting iteration",
1057+
unit="seconds",
1058+
targets=[
1059+
Target(
1060+
expr="sum(ray_data_iter_time_to_first_batch_seconds{{{global_filters}}}) by (dataset)",
1061+
legend="Seconds: {{dataset}}",
1062+
)
1063+
],
1064+
fill=0,
1065+
stack=False,
1066+
)
1067+
1068+
ITERATION_GET_REF_BUNDLES_PANEL = Panel(
1069+
id=121,
1070+
title="Iteration Get Ref Bundles Time",
1071+
description="Seconds spent getting RefBundles from the dataset iterator",
1072+
unit="seconds",
1073+
targets=[
1074+
Target(
1075+
expr="sum(ray_data_iter_get_ref_bundles_seconds{{{global_filters}}}) by (dataset)",
1076+
legend="Seconds: {{dataset}}",
1077+
)
1078+
],
1079+
fill=0,
1080+
stack=False,
1081+
)
1082+
10531083
# Ray Data Metrics (Miscellaneous)
10541084
SCHEDULING_LOOP_DURATION_PANEL = Panel(
10551085
id=47,
@@ -1390,6 +1420,8 @@
13901420
ITERATION_BLOCKS_LOCAL_PANEL,
13911421
ITERATION_BLOCKS_REMOTE_PANEL,
13921422
ITERATION_BLOCKS_UNKNOWN_LOCATION_PANEL,
1423+
ITERATION_TIME_TO_FIRST_BATCH_PANEL,
1424+
ITERATION_GET_REF_BUNDLES_PANEL,
13931425
],
13941426
collapsed=True,
13951427
),

0 commit comments

Comments
 (0)