Julius Volz
Julius Volz
Not sure what you mean. We have `FOR 5m`, `FOR 1h`, and so on for `ALERT` statements already. What are you suggesting?
A-ha! Got it. One option could be to extend the grammar. Another could be to add a function for that. What would you think about a function like `seconds("13h")` or...
@brian-brazil Not 100% clear to me either - https://www.youtube.com/watch?v=NlpRBLkgcBo
That's definitely an option, though I'd always think twice before adding something to the syntax itself. Just want to make sure we thought carefully about this first. I'm always less...
@brian-brazil Oh, good point! That could actually be super confusing for people if they see "8M", "8T", etc. and assume they can do "8m" (as in 8 milli) as well,...
It'd be great if it was explicit. But requiring it implicitly, we're saying "you can use these functions, but they'll only do the right thing if you follow our conventions."....
@brian-brazil But since the PromQL from rules is always embedded in YAML files, it at least has to preserve YAML comments, right? Otherwise the tool wouldn't be very useful as...
I don't know much about the current workings of the metadata API, but yes, I also think that the API should really just return information associated to the actually stored...