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 custom datasource possibilities for postgres_exporter #289

Merged
merged 6 commits into from Jan 28, 2019

Conversation

romdav00
Copy link

@romdav00 romdav00 commented Jan 14, 2019

Hi @bastelfreak , it seems better now :-)

String[1] $arch = $prometheus::real_arch,
String[1] $bin_dir = $prometheus::bin_dir,
Enum['custom', 'env', 'file'] $postgres_auth_method,
Hash[String,String] $data_source_custom = {},
Copy link
Member

Choose a reason for hiding this comment

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

Can you please enforce the minimal string length?

Suggested change
Hash[String,String] $data_source_custom = {},
Hash[String[1],String[1]] $data_source_custom = {},

@bastelfreak bastelfreak added enhancement New feature or request needs-work not ready to merge just yet labels Jan 14, 2019
@bastelfreak
Copy link
Member

Hi @romdav00, thanks for the PR! Can you have a look at the used email address in the commits? It isn't associated with your github account.

String[1] $arch = $prometheus::real_arch,
String[1] $bin_dir = $prometheus::bin_dir,
Enum['custom', 'env', 'file'] $postgres_auth_method,
Hash[String[1],String[1]] $data_source_custom = {},
Copy link
Member

Choose a reason for hiding this comment

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

please align all the =.

@bastelfreak bastelfreak removed the needs-work not ready to merge just yet label Jan 16, 2019
@bastelfreak
Copy link
Member

Thanks @romdav00. Can you take a look at the first commits in this branch? The used email address isn't associated with your github account.

@romdav00
Copy link
Author

Hi @bastelfreak is it ok for you ?

@bastelfreak
Copy link
Member

ah sorry, this PR slipped through. Thanks for pinging!

@bastelfreak bastelfreak merged commit 3ec269f into voxpupuli:master Jan 28, 2019
cegeka-jenkins pushed a commit to cegeka/puppet-prometheus that referenced this pull request Aug 28, 2019
Add custom datasource possibilities for postgres_exporter
Rovanion pushed a commit to Rovanion/puppet-prometheus that referenced this pull request May 5, 2021
Add custom datasource possibilities for postgres_exporter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants