From 775eb974abe43720b7598cd294e43124adc10509 Mon Sep 17 00:00:00 2001 From: Adora Laura Kalb Date: Wed, 17 Apr 2024 20:06:42 +0200 Subject: [PATCH] update metric name --- collector/collector.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/collector.go b/collector/collector.go index 536f92a..e5f9e4c 100644 --- a/collector/collector.go +++ b/collector/collector.go @@ -102,7 +102,7 @@ func (c Collector) collect(ch chan<- prometheus.Metric, logger log.Logger) { } // TODO: Test or delete - serverScoreMetric := prometheus.NewDesc("ntppool_score", + serverScoreMetric := prometheus.NewDesc("ntppool_server_score", "Shows the server score currently assigned at ntppool.org", nil, prometheus.Labels{"server": c.target.String()})