Skip to content

Commit

Permalink
Perform a flush of metrics at the end of every wave
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay Chia committed Oct 29, 2024
1 parent 0a1a8d4 commit ff7983f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions daft/runners/ray_tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,9 @@ def metrics_updater(**kwargs):
}
)

# On the end of every wave, perform a flush of the latest metrics from the MetricsActor
self._flush_task_metrics()

def count_inflight_tasks(self, count: int):
self._write_event(

Check warning on line 387 in daft/runners/ray_tracing.py

View check run for this annotation

Codecov / codecov/patch

daft/runners/ray_tracing.py#L387

Added line #L387 was not covered by tests
{
Expand Down

0 comments on commit ff7983f

Please sign in to comment.