sql_exporter
sql_exporter copied to clipboard
adding db auto discovery support to postgres
When using PostgreSQL, if the connection specifies exclude or include (only one can be specified), the exporter will create connections to the jobs based on the required databases. This parameter accepts a list of databases that can also be specified using regex, like so:
'postgres://postgres@localhost/exclude:postgres,test_db*?sslmode=disable'