Skip to content

Commit

Permalink
Merge branch 'collector-env' into 'master'
Browse files Browse the repository at this point in the history
use DCGM_EXPORTER_INTERVAL for collection interval

See merge request nvidia/container-toolkit/gpu-monitoring-tools!11
  • Loading branch information
nvjmayo committed May 1, 2020
2 parents 1367263 + ec05d24 commit ce4bf87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func main() {
Aliases: []string{"c"},
Value: 2000,
Usage: "Interval of time at which point metrics are collected. Unit is milliseconds (ms).",
EnvVars: []string{"DCGM_EXPORTER_PORT"},
EnvVars: []string{"DCGM_EXPORTER_INTERVAL"},
},
&cli.BoolFlag{
Name: CLIKubernetes,
Expand Down

0 comments on commit ce4bf87

Please sign in to comment.