aboutsummaryrefslogtreecommitdiffstats
path: root/metrics/metrics.go
diff options
context:
space:
mode:
Diffstat (limited to 'metrics/metrics.go')
-rw-r--r--metrics/metrics.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/metrics/metrics.go b/metrics/metrics.go
index 9906bb8ad..da2cdbc53 100644
--- a/metrics/metrics.go
+++ b/metrics/metrics.go
@@ -29,7 +29,7 @@ import (
)
// MetricsEnabledFlag is the CLI flag name to use to enable metrics collections.
-var MetricsEnabledFlag = "metrics"
+const MetricsEnabledFlag = "metrics"
// Enabled is the flag specifying if metrics are enable or not.
var Enabled = false