-
-
Notifications
You must be signed in to change notification settings - Fork 242
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 prom command line args and validation #377
Conversation
Hi @hooten, thanks for the PR. Can you take a look at the failing travis tests? |
Thanks for the commends @bastelfreak. This PR is still a WIP. I'm having trouble reproducing the failing tests locally. I will work on it more this week |
Hey @bastelfreak, I made the changes you suggested and fixed the tests. When you get a chance, I'd really appreciate another review. Thanks! |
Thanks for the work! |
Thanks! I'm happy to contribute! |
Add prom command line args and validation
Add prom command line args and validation
Pull Request (PR) description
This pull request adds the remaining command-line arguments available to Prometheus v2 (and a few for v1). It also adds validation that will fail the puppet run if arguments are used incorrectly. It continues to expose the
extra_options
parameter for custom command-line logic. It also adds a number of tests for using command line arguments.Although it was possible to specify arbitrary command-line arguments previously using
extra_options
, this PR makes CLI args more discoverable and manages better.This Pull Request (PR) fixes the following issues
Fixes #52