monitoring-mixins / mixtool

mixtool is a helper for easily working with jsonnet mixins.
Apache License 2.0
139 stars 15 forks source link

mixtool lint doesn't support Prometheus functions for native histograms #163

Closed pstibrany closed 8 months ago

pstibrany commented 8 months ago

Mixtool lint fails when alerts use functions for native histograms, like histogram_count or histogram_sum.

could not parse expression: 2:5: parse error: unknown function with name "histogram_sum"
krajorama commented 8 months ago

I think it's using the Prometheus codebase to do the parsing of the expressions so you need #164 for this

krajorama commented 8 months ago

And #164 that depends on #165

tomwilkie commented 8 months ago

Should be all fixed now!