update metric name

This commit is contained in:
Adora Laura Kalb 2024-04-17 20:06:42 +02:00
parent 68823aa602
commit 775eb974ab
Signed by: adoralaura
GPG key ID: E2E0F82107536C1B

View file

@ -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()})