From ec05d24442daefe55ce386434fb8ca0c11a79015 Mon Sep 17 00:00:00 2001 From: Jon Mayo Date: Fri, 1 May 2020 09:07:09 -0700 Subject: [PATCH] use DCGM_EXPORTER_INTERVAL for collection interval Signed-off-by: Jon Mayo --- pkg/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/main.go b/pkg/main.go index 871ae95..6ce5b20 100644 --- a/pkg/main.go +++ b/pkg/main.go @@ -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,