-
-
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
bug: alert rules are still 1.0 syntax for Prometheus 2 #120
Comments
@knackjax can you provide an example how the alert rules must be for prometheus2? Can you also provide a PR? |
@tuxmea https://prometheus.io/blog/2017/06/21/prometheus-20-alpha3-new-rule-format/ I'm also taking a look at this, but if someone beats me to a PR, all the better! 😉 |
Ideally, we'd support both formats, and maybe also take the chance and fix #69 while we're at it. |
I have a hack for this, which basically uses promtool to update to 2.0 syntax. We are just evaluating prometheus for our needs right now if we adopt it we will try to submit a cleaner solution
|
thanks @jhooyberghs for providing the fix! |
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
See templates/alert.epp
What are you seeing
1.0 syntax
What behaviour did you expect instead
2.0 yaml syntax
Output log
Any additional information you'd like to impart
The text was updated successfully, but these errors were encountered: