From 6d497d513300969144a5399d8f6d07349466f146 Mon Sep 17 00:00:00 2001 From: capossele <angelocapossele@gmail.com> Date: Tue, 9 Jun 2020 09:45:10 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20Remove=20linter=20warnings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/prometheus/parameters.go | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/plugins/prometheus/parameters.go b/plugins/prometheus/parameters.go index 085702ee..edfffadd 100644 --- a/plugins/prometheus/parameters.go +++ b/plugins/prometheus/parameters.go @@ -5,10 +5,14 @@ import ( ) const ( - CfgPrometheusGoMetrics = "prometheus.goMetrics" - CfgPrometheusProcessMetrics = "prometheus.processMetrics" + // CfgPrometheusGoMetrics defines the config flag to enable/disable go metrics. + CfgPrometheusGoMetrics = "prometheus.goMetrics" + // CfgPrometheusProcessMetrics defines the config flag to enable/disable process metrics. + CfgPrometheusProcessMetrics = "prometheus.processMetrics" + // CfgPrometheusPromhttpMetrics defines the config flag to enable/disable promhttp metrics. CfgPrometheusPromhttpMetrics = "prometheus.promhttpMetrics" - CfgPrometheusBindAddress = "prometheus.bindAddress" + // CfgPrometheusBindAddress defines the config flag of the bind address on which the Prometheus exporter listens on. + CfgPrometheusBindAddress = "prometheus.bindAddress" ) func init() { -- GitLab