From f2c34cf2b0fb258d754b3afae6e5a5ccc9d81a44 Mon Sep 17 00:00:00 2001 From: rasmus Date: Fri, 23 May 2025 10:45:40 +0300 Subject: [PATCH] fixup prom copy-pasta name duplication regression of 685d621556f77f897f7e2c7d7a36ad6e58131090 --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 85bcb98..c10d07d 100644 --- a/main.go +++ b/main.go @@ -95,8 +95,8 @@ var ( Help: "The total number of queries.", }) counterNoPath = promauto.NewCounter(prometheus.CounterOpts{ - Name: "goredirect_not_found", - Help: "The total number of queries with unknown slug.", + Name: "goredirect_no_path", + Help: "The total number of queries with no slug.", }) counterInvalidSlug = promauto.NewCounter(prometheus.CounterOpts{ Name: "goredirect_invalid_slug",