Skip to content

Commit 5b4c8f0

Browse files
authored
Default NXF_FUSION_TRACE to false (#7071)
Change the default for the NXF_FUSION_TRACE environment variable from true to false so that Fusion trace-based resource metrics are opt-in. Update the docs accordingly. Signed-off-by: Paolo Di Tommaso <paolo@seqera.io> Signed-off-by: Paolo Di Tommaso <paolo.ditommaso@gmail.com>
1 parent 6291842 commit 5b4c8f0

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/reference/env-vars.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ The following environment variables control the configuration of the Nextflow ru
126126
`NXF_FUSION_TRACE`
127127
: :::{versionadded} 26.04.0
128128
:::
129-
: When set to `true`, collect task resource metrics (CPU, memory, I/O) from the Fusion trace file (`.fusion/trace.json`) produced in the task work directory, replacing the metrics collected by the default bash command-trace wrapper. Requires Fusion to be enabled. GPU metrics from Fusion are always collected regardless of this setting.
129+
: When set to `true`, collect task resource metrics (CPU, memory, I/O) from the Fusion trace file (`.fusion/trace.json`) produced in the task work directory, replacing the metrics collected by the default bash command-trace wrapper. Requires Fusion to be enabled. GPU metrics from Fusion are always collected regardless of this setting. Defaults to `false`.
130130

131131
`NXF_HOME`
132132
: Nextflow home directory (default: `$HOME/.nextflow`).

modules/nf-commons/src/main/nextflow/Global.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Global {
3838
* When {@code true}, Fusion trace metrics replace the bash command-trace wrapper
3939
*/
4040
static boolean isFusionTraceEnabled() {
41-
return SysEnv.get('NXF_FUSION_TRACE', 'true') == 'true'
41+
return SysEnv.get('NXF_FUSION_TRACE', 'false') == 'true'
4242
}
4343

4444
/**

0 commit comments

Comments
 (0)