-
Notifications
You must be signed in to change notification settings - Fork 40
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/Monitoring PaSh spawned processes #500
Comments
Do you have any ideas for how these events could be logged? Not super familiar with prior art here but from some cursory searches I think adding an For example if you prepend
It's verbose / not the easiest to parse, and probably something to include only in debug mode due to |
Thanks a lot for this suggestion! That would be a great way to debug these issues, and we could only enable it when doing heavyweight fine-grained debugging.
Something that would also be possible for a more lightweight instrumentation would be to do the modifications at the script level, i.e., modifying the produced parallel script to do the following:
For reference, the parallel script produced by PaSh can be seen if PaSh is called using the
In this parallel script we could add |
Currently, it is pretty hard to have any visibility on the dataflow processes that are spawned by PaSh. It would be great if we could have some form of observability of their status/progress.
One way to do it would be to log events related to each of these processes (running, progress (based on INPUT/OUTPUT processed), exit status, etc). Then we could develop a separate extension to analyze and show these logs.
For more info see discussion in #491
The text was updated successfully, but these errors were encountered: