Skip to content

Commit

Permalink
added infra flag in the event
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya-el committed Dec 26, 2024
1 parent e1eb6dd commit b7bfe21
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/nf-polly/src/main/nextflow/polly/PollyObserver.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ class PollyObserver implements TraceObserver {
input_map[param.getName()] = input.value.getClass().getName()
}

String infra = this.env.get("INFRA") ?: "NA"

data['infra'] = infra
data['process_hash'] = handler.task.getHash().toString()
data['machine_config'] = [
'native_id': trace.getProperty('native_id') ?: 'null',
Expand Down

0 comments on commit b7bfe21

Please sign in to comment.