Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upTemplate language for rules files #958
Comments
This comment has been minimized.
This comment has been minimized.
|
To be honest, I think building something for yourselves is the most realistic option. |
This comment has been minimized.
This comment has been minimized.
|
I don't think we'll ever add a template language, as I'm sure you've experienced it's easy for well intentioned factoring to gradually get out of control and land in template hell. If you feel the need to automatically generate rules, you can to do so with your configuration management language. If you're ending up with a lot of boiler plate, it's possible you aren't taking full advantage of labels. |
This comment has been minimized.
This comment has been minimized.
|
Perhaps we should have a "non-roadmap" section on prometheus.io containing all the non-goals? There are a number of features that are obvious to ask for but which we do not intend to implement for not so obvious reasons... |
This comment has been minimized.
This comment has been minimized.
|
That sounds like a good idea. |
This comment has been minimized.
This comment has been minimized.
|
The problem we're trying to solve is generating the pre-aggregations on our scrape-level proms that later on get sucked in by our master proms. We end up with a much of similar rules that just end with If you guys explicitly state a template language for prometheus as a non-goal, we'll roll our own :) I just wanted to make sure we wouldn't duplicate efforts :) |
This comment has been minimized.
This comment has been minimized.
|
Filed prometheus/docs#149 for the offroad-map. :) |
mwitkow
closed this
Aug 3, 2015
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
mwitkow commentedAug 3, 2015
I know this smells of template hell, but for our use case of federation (where we only federate precomputed metrics) we end up writing a lot of boiler plate.
Are you guys planning on providing a canonical rules file template language or should we bake something specific just for us? :)