-
Notifications
You must be signed in to change notification settings - Fork 7
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
Set up resource monitoring for tasks of cromwell runs #25
Comments
In order to test this idea in its simplest form I created an example monitor script and tested it on an active google instance that was running a compute intensive step. I manually logged into the GCP instance using the Google console to test it. To test on a cromwell run I am attempting the following:
According to the Cromwell docs, if you modify this conf file you do NOT need to restart Cromwell. These settings should take effect with the next workflow you run. However, if you DID need to restart Cromwell, based on the startup script (https://github.com/griffithlab/cloud-workflows/blob/main/manual-workflows/server_startup.py) I think you could do: |
If the my testing works as expected and we want to add this so it happens automatically, then I think it would be added here: |
In my first test I looked in a gcs_localization.sh script for an individual task and I now see this:
|
And I see output like this (saved in the bucket as: monitoring.log) in a step that completed very quickly:
|
This seems to be working as expected. To activate monitoring one can simply add this to
Results for each task appear in the Google Bucket for each task result in a file named: |
The Cromwell docs describe the capability to have monitoring for every step of your workflow. The docs I have been able to find are limited:
https://cromwell.readthedocs.io/en/stable/wf_options/Google/
Which states:
https://cromwell.readthedocs.io/en/latest/backends/Google/
Which states:
The text was updated successfully, but these errors were encountered: