Skip to content

Commit 51376e3

Browse files
authored
Merge pull request #169 from Sticksman/add-new-config-collector
Add new auth_type collector
2 parents c85f745 + da8ff77 commit 51376e3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: collector.go

+3
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ var (
110110
}
111111

112112
configMap = map[string]*(prometheus.Desc){
113+
"auth_type": prometheus.NewDesc(
114+
prometheus.BuildFQName(namespace, "config", "auth_type"),
115+
"Config authentication type used by pgbouncer", nil, nil),
113116
"max_client_conn": prometheus.NewDesc(
114117
prometheus.BuildFQName(namespace, "config", "max_client_connections"),
115118
"Config maximum number of client connections", nil, nil),

0 commit comments

Comments
 (0)