nextflow icon indicating copy to clipboard operation
nextflow copied to clipboard

add queue process directive as option for trace file

Open msmootsgi opened this issue 9 years ago • 2 comments

It would be great if the queue process directive could be recorded for each process in the trace file output. My use case is to track costs by knowing which parts of my pipeline ran in which queue.

msmootsgi avatar Aug 11 '17 16:08 msmootsgi

It should not be difficult to add it. The relevant class is TraceRecord.

It should be enough to add a queue field in the FIELDS map.

Then populate it when the object is created in the getTraceRecord method

Some tests may be updated in TraceRecordTest, TraceFileObserverTest and TaskHandlerTest

pditommaso avatar Aug 11 '17 17:08 pditommaso

Awesome, I'll see what I can do!

msmootsgi avatar Aug 11 '17 17:08 msmootsgi