You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/logging-visualization.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ Dagger has built-in and easily accessible logs visualization capabilities.
5
5
Currently, there are two general mechanisms to visualize logs:
6
6
`show_logs`/`render_logs`, and `MultiEventLog` consumers.
7
7
8
+
## Logs visualization with show_logs/render_logs
8
9
The former (`show_logs`/`render_logs`) renders a logs `Dict` (acquired from
9
10
`fetch_logs!`) either to an `IO` (via `show_logs`) or by returning a renderable
10
11
object (via `render_logs`). This system is designed for rendering a single
@@ -25,8 +26,9 @@ Built-in rendering support exists for:
25
26
-`render_logs(logs, :graphviz)` to generate a graph diagram of executed tasks and their dependencies (requires `GraphViz.jl` to be loaded)
26
27
-`render_logs(logs, :plots_gantt)` to generate a Gantt chart of task execution across all processors (requires `Plots.jl` and `DataFrames.jl` to be loaded)
27
28
28
-
The latter (`MultiEventLog`) allows for continuously rendering logs as they're
29
-
generated, permitting real-time visualization of Dagger's operations. This
29
+
## Continuous visualization with MultiEventLog
30
+
The `MultiEventLog` mechanism is designed for continuous rendering of logs as they are generated,
31
+
which permits real-time visualization of Dagger's operations. This
30
32
logic is utilized in `DaggerWebDash`, which provides a web-based dashboard for
31
33
visualizing Dagger's operations as a real-time Gantt chart and set of plots for
32
34
various system metrics (CPU usage, memory usage, worker utilization, etc.).
0 commit comments