diff --git a/plugins/prometheus/parameters.go b/plugins/prometheus/parameters.go index 085702eeabf2e09c633c5a3c1ab3c83a8b762e76..edfffadd440fbe0690b741336e7e737f7a2db866 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() {