From 2d88d8a13f37b073e18d6dab19d45471b4345b32 Mon Sep 17 00:00:00 2001 From: Adora Laura Kalb Date: Wed, 17 Apr 2024 20:07:00 +0200 Subject: [PATCH] remove unneeded label --- collector/collector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/collector.go b/collector/collector.go index e5f9e4c..c416394 100644 --- a/collector/collector.go +++ b/collector/collector.go @@ -104,7 +104,7 @@ func (c Collector) collect(ch chan<- prometheus.Metric, logger log.Logger) { // TODO: Test or delete serverScoreMetric := prometheus.NewDesc("ntppool_server_score", "Shows the server score currently assigned at ntppool.org", - nil, prometheus.Labels{"server": c.target.String()}) + nil, nil) // TODO: Test or delete //c.metrics.NtpppolServerScore.Add(serverApiScore)