-
-
Notifications
You must be signed in to change notification settings - Fork 241
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
Allow to configure scrape options by file #17
Comments
I was hit by this issue when using the module to upgrade prometheus & friends. scrape_configs is useful only initially or if you plan to configure prometheus only by puppet; which is not always the case. I agree with your proposal. Can you please make a PR? |
I have I will fork this and make a PR. As I can see you still have Ruby 1.9.3 in your Travis tests. From my experience i can say that it is really hard to maintain Puppet modules with this Ruby version. It is really hard to make sure that dependencies are correct without doing some really ugly things in Gemfile. Have you considered dropping support for 1.8.7 and 1.9.3 ? |
Isn't this fixed by #25? |
Add missing values
Add missing values
Hi !
Really nice module but right now i do not want to configure the scraping options directly in manifests file. I would like to provide my own
prometheus.yml
file with all the configuration already done.As I can see right now you populate
proemtheus.yml
fromprometheus::config
class. What do you thing about one new parameter toprometheus
class:scrape_config_file
. If there will be something in this file just drop it in correct place and that is all. If this parameter is empty andscrape_configs
are set do what you are doing right now.The text was updated successfully, but these errors were encountered: