Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to set allow DBs list #499

Merged
merged 1 commit into from
Mar 11, 2021
Merged

Add ability to set allow DBs list #499

merged 1 commit into from
Mar 11, 2021

Conversation

weastur
Copy link
Contributor

@weastur weastur 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'.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Signed-off-by: Pavel Sapezhko <me@weastur.com>
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