We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b3e3d5 commit f57c80dCopy full SHA for f57c80d
metrics/metrics.go
@@ -19,7 +19,7 @@ import (
19
//
20
// This global kill-switch helps quantify the observer effect and makes
21
// for less cluttered pprof profiles.
22
-var Enabled bool = false
+var Enabled = false
23
24
// MetricsEnabledFlag is the CLI flag name to use to enable metrics collections.
25
const MetricsEnabledFlag = "metrics"
metrics/opentsdb.go
@@ -10,7 +10,7 @@ import (
10
"time"
11
)
12
13
-var shortHostName string = ""
+var shortHostName = ""
14
15
// OpenTSDBConfig provides a container with configuration parameters for
16
// the OpenTSDB exporter
0 commit comments