remove unneeded label

This commit is contained in:
Adora Laura Kalb 2024-04-17 20:07:00 +02:00
parent 775eb974ab
commit 2d88d8a13f
Signed by: adoralaura
GPG key ID: E2E0F82107536C1B

View file

@ -104,7 +104,7 @@ func (c Collector) collect(ch chan<- prometheus.Metric, logger log.Logger) {
// TODO: Test or delete // TODO: Test or delete
serverScoreMetric := prometheus.NewDesc("ntppool_server_score", serverScoreMetric := prometheus.NewDesc("ntppool_server_score",
"Shows the server score currently assigned at ntppool.org", "Shows the server score currently assigned at ntppool.org",
nil, prometheus.Labels{"server": c.target.String()}) nil, nil)
// TODO: Test or delete // TODO: Test or delete
//c.metrics.NtpppolServerScore.Add(serverApiScore) //c.metrics.NtpppolServerScore.Add(serverApiScore)