Skip to content
Snippets Groups Projects
Commit 29651d9a authored by Levente Pap's avatar Levente Pap
Browse files

Restore metrics plugin parameters

parent 68473afc
No related branches found
No related tags found
No related merge requests found
......@@ -6,15 +6,12 @@ import (
const (
// CfgMetricsLocal defines the config flag to enable/disable local metrics.
CfgMetricsLocal = "metrics.local.enable"
// CfgMetricsLocalDB defines the config flag to enable/disable local database metrics.
CfgMetricsLocalDB = "metrics.local.db"
CfgMetricsLocal = "metrics.local"
// CfgMetricsGlobal defines the config flag to enable/disable global metrics.
CfgMetricsGlobal = "metrics.global.enable"
CfgMetricsGlobal = "metrics.global"
)
func init() {
flag.Bool(CfgMetricsLocal, true, "include local metrics")
flag.Bool(CfgMetricsLocalDB, false, "include local database metrics")
flag.Bool(CfgMetricsGlobal, false, "include global metrics")
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment