Skip to content

Commit

Permalink
use DCGM_EXPORTER_INTERVAL for collection interval
Browse files Browse the repository at this point in the history
Signed-off-by: Jon Mayo <[email protected]>
  • Loading branch information
nvjmayo committed May 1, 2020
1 parent 1367263 commit ec05d24
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 ec05d24

Please sign in to comment.