Skip to content

Commit

Permalink
Add new auth_type collector
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Yuan <[email protected]>
  • Loading branch information
Sticksman committed Oct 4, 2024
1 parent 1e04a9c commit da8ff77
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 da8ff77

Please sign in to comment.