Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logging: Make IDs consistent, add helpers for logging and visualization #468

Merged
merged 2 commits into from
Mar 25, 2024

Conversation

jpsamaroo
Copy link
Member

@jpsamaroo jpsamaroo commented Feb 1, 2024

This makes it a bit easier to parse raw log records, and provides additional utilities for enabling, configuring, fetching, and rendering logs. In particular, we add a new GraphViz.jl-powered DAG renderer and a Plots.jl-powered Gantt chart renderer.

Todo:

  • Enable GraphViz rendering with MultiEventLog
  • Add tests and docs

@jpsamaroo jpsamaroo force-pushed the jps/logs-consistent-id branch from 44ab5a5 to 2d64dab Compare February 13, 2024 22:38
@jpsamaroo jpsamaroo changed the title logging: Make IDs consistent, add helpers logging: Make IDs consistent, add helpers for logging and visualization Feb 13, 2024
@jpsamaroo jpsamaroo marked this pull request as ready for review February 13, 2024 22:40
@jpsamaroo jpsamaroo force-pushed the jps/logs-consistent-id branch from 2d64dab to c2ffb33 Compare February 13, 2024 23:22
@jpsamaroo jpsamaroo force-pushed the jps/logs-consistent-id branch 4 times, most recently from 2c2905b to d348b90 Compare March 25, 2024 21:07
Makes the :id field consistent (NamedTuple or nothing)
Adds enable/disable logging helpers and log fetch helper
Adds MultiEventLog events to collect task dependency info
Adds utility for creating digraph from task dependency log info
Adds interface for IO-based and display-based DAG rendering
Add new GraphViz-based DAG renderer
Add new Plots-based Gantt chart renderer
Remove Context's log_file infrastructure
Switches GraphViz rendering to use Pkg extensions
@jpsamaroo jpsamaroo force-pushed the jps/logs-consistent-id branch from d348b90 to 334e951 Compare March 25, 2024 22:27
@jpsamaroo jpsamaroo merged commit 9bd2961 into master Mar 25, 2024
4 of 14 checks passed
@jpsamaroo jpsamaroo deleted the jps/logs-consistent-id branch March 25, 2024 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant