15 lines
612 B
Text
15 lines
612 B
Text
# Read metrics from one or many pgbouncer servers
|
|
[[inputs.pgbouncer]]
|
|
## specify address via a url matching:
|
|
## postgres://[pqgotest[:password]]@host:port[/dbname]\
|
|
## ?sslmode=[disable|verify-ca|verify-full]
|
|
## or a simple string:
|
|
## host=localhost port=5432 user=pqgotest password=... sslmode=... dbname=app_production
|
|
##
|
|
## All connection parameters are optional.
|
|
##
|
|
address = "host=localhost user=pgbouncer sslmode=disable"
|
|
|
|
## Specify which "show" commands to gather metrics for.
|
|
## Choose from: "stats", "pools", "lists", "databases"
|
|
# show_commands = ["stats", "pools"]
|