aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.go b/main.go
index 109b5cc..db9c998 100644
--- a/main.go
+++ b/main.go
@@ -13,6 +13,7 @@ import (
"strconv"
"time"
+ "git.tyil.nl/go/flags_list.git"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
)
@@ -24,7 +25,7 @@ var (
namespace string
path string
subsystem string
- customLabels MapVar
+ customLabels flags_list.MapVar
extensionKeys map[string]bool
gauges map[string]*prometheus.GaugeVec