From da8ff777ef25b9cb9483d0ef0b0f5c6f193bba83 Mon Sep 17 00:00:00 2001 From: Felix Yuan Date: Fri, 4 Oct 2024 13:32:01 -0700 Subject: [PATCH] Add new auth_type collector Signed-off-by: Felix Yuan --- collector.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/collector.go b/collector.go index a7f9fd6..a78f7d0 100644 --- a/collector.go +++ b/collector.go @@ -110,6 +110,9 @@ var ( } configMap = map[string]*(prometheus.Desc){ + "auth_type": prometheus.NewDesc( + prometheus.BuildFQName(namespace, "config", "auth_type"), + "Config authentication type used by pgbouncer", nil, nil), "max_client_conn": prometheus.NewDesc( prometheus.BuildFQName(namespace, "config", "max_client_connections"), "Config maximum number of client connections", nil, nil),