From ab11d29c1e9d9320070ed8032ddfe74b4d7c763c Mon Sep 17 00:00:00 2001 From: Alex Goodisman Date: Thu, 25 Apr 2024 19:41:44 -0400 Subject: [PATCH] rename --- lib/denylist/http.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/denylist/http.go b/lib/denylist/http.go index 3ce57ce6..4c740340 100644 --- a/lib/denylist/http.go +++ b/lib/denylist/http.go @@ -14,8 +14,8 @@ var metricFilterEnabled = promauto.NewGaugeVec(prometheus.GaugeOpts{ Namespace: "otr", Subsystem: "denylist", Name: "filter_enabled", - Help: "Gauge indicating whether the denylist filter is enabled for a particular DB namespace", -}, []string{"namespace"}) + Help: "Gauge indicating whether the denylist filter is enabled for a particular DB name", +}, []string{"db"}) // CollectionEndpoint serves the endpoints for the whole Denylist at /denylist func CollectionEndpoint(denylist *sync.Map) func(http.ResponseWriter, *http.Request) {