From 1cfe8da93f87c7b14a91088da5187ff1fbd9e165 Mon Sep 17 00:00:00 2001 From: Steven Soroka Date: Tue, 20 Apr 2021 11:24:24 -0400 Subject: [PATCH] clarify pollIntervalDisabled message (#9158) closes #9155 --- plugins/common/shim/example/cmd/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/common/shim/example/cmd/main.go b/plugins/common/shim/example/cmd/main.go index 4f51f7f87..7326cc492 100644 --- a/plugins/common/shim/example/cmd/main.go +++ b/plugins/common/shim/example/cmd/main.go @@ -13,7 +13,7 @@ import ( ) var pollInterval = flag.Duration("poll_interval", 1*time.Second, "how often to send metrics") -var pollIntervalDisabled = flag.Bool("poll_interval_disabled", false, "how often to send metrics") +var pollIntervalDisabled = flag.Bool("poll_interval_disabled", false, "set to true to disable polling. You want to use this when you are sending metrics on your own schedule") var configFile = flag.String("config", "", "path to the config file for this plugin") var err error