Skip to content

Conversation

@psapezhka
Copy link

@psapezhka psapezhka commented Mar 11, 2021

Add include-databases param, which works as an antagonist of exclude-database when autodiscovery is on. The motivation is to add the ability to use the power of autodiscovery of database (read as auto create of DSNs), but query an only subset of found DBs. It also saves the current behavior with the master flag for 'main'.

Signed-off-by: Pavel Sapezhko <[email protected]>
Copy link
Contributor

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SuperQ SuperQ merged commit c51a28f into prometheus-community:master Mar 11, 2021
ritbl pushed a commit to heniek/postgres_exporter that referenced this pull request Mar 19, 2023
…ses_param

Add ability to set allow DBs list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants