This page lists metrics that we wish to derive for Pegasus workflows.
Aggregations:
SELECT count(wf_id) from workflow |
Best aggregated with code glue/datetime libs but currently doable. |
select max(timestamp) - min(timestamp) from jobstate where job_id in ( select job_id from job where wf_id = ( select wf_id from workflow where wf_uuid = 'b5310bb2-2871-423d-bdee-8cd0ed1f925a' ) ) |
select j.job_id, (select max(timestamp) - min(timestamp) from jobstate where job_id = j.job_id) as total, (select max(timestamp) - min(timestamp) from jobstate where job_id = j.job_id and state not like '%SCRIPT%') as noprepostscript from job as j where j.wf_id = ( select wf_id from workflow where wf_uuid = 'b5310bb2-2871-423d-bdee-8cd0ed1f925a' ) |
select count(*) total_jobs, sum((select count(*) from jobstate where job_id = j.job_id and state = 'JOB_SUCCESS')) as job_success, sum((select count(*) from jobstate where job_id = j.job_id and state = 'JOB_FAILURE')) as job_failure, sum((select count(*) from task where job_id = j.job_id and exitcode = 0)) as task_success, sum((select count(*) from task where job_id = j.job_id and exitcode <> 0)) as task_failure from job as j where j.wf_id = ( select wf_id from workflow where wf_uuid = 'b5310bb2-2871-423d-bdee-8cd0ed1f925a' ) |
select count(*) from ( select name, count(job_submit_seq) from job where wf_id = ( select wf_id from workflow where wf_uuid = 'b5310bb2-2871-423d-bdee-8cd0ed1f925a' ) group by name having count(job_submit_seq) > 1 ) |
select name from job where wf_id = ( select wf_id from workflow where wf_uuid = 'b5310bb2-2871-423d-bdee-8cd0ed1f925a' ) group by name having count(job_submit_seq) > 1 Etc.... |
Best aggregated with code glue/datetime libs but currently doable. |
Related to resource utilization:
Filters:
Graphs:
Gathering Information About a Workflow
Workflow Metrics that can be obtained