Skip to content

Commit

Permalink
Merge pull request #169 from Sticksman/add-new-config-collector
Browse files Browse the repository at this point in the history
Add new auth_type collector
  • Loading branch information
SuperQ authored Oct 7, 2024
2 parents c85f745 + da8ff77 commit 51376e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 51376e3

Please sign in to comment.