From 2243f92fd69de0f27cde3ffe428999adacc16102 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Mon, 29 Jan 2024 14:18:17 +0100 Subject: [PATCH] Prometheus: Fix "GET /api/v1/metrics" API endpoint #213 #3730 #3943 Signed-off-by: Michael Mayer --- internal/api/metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/metrics.go b/internal/api/metrics.go index 9340e1cbd..50f887961 100644 --- a/internal/api/metrics.go +++ b/internal/api/metrics.go @@ -29,7 +29,7 @@ func GetMetrics(router *gin.RouterGroup) { } conf := get.Config() - counts := conf.ClientPublic().Count + counts := conf.ClientUser(false).Count c.Stream(func(w io.Writer) bool { reg := prometheus.NewRegistry()