Releases: VictoriaMetrics/metricsql
Releases · VictoriaMetrics/metricsql
v0.86.0: Avoid unnecessary parentheses in simple binary expressions (#63)
* Avoid unnecessary parentheses in simple binary expressions Fixes https://github.com/VictoriaMetrics/metricsql/issues/54 needBinaryOpArgParens now takes the parent operator as a parameter and uses three-tier logic: add parens when (1) the child op has lower priority than the parent, (2) the parent is a non-arithmetic op (or, and, comparisons, etc.), or (3) the child subtree contains non-trivial nodes (function calls, group/join modifiers, etc.). Plain arithmetic chains of numbers and metric names — 1 + 2 + 3, a + b + c — no longer get wrapped in redundant parentheses.
v0.84.9: metricsql: add function histogram_fraction()
Add support for the histogram_fraction() function in MetricsQL. It is registered as a transform and recognized by the optimizer (arg index 2) so queries using it parse and optimize correctly. PR https://github.com/VictoriaMetrics/metricsql/pull/59 Related to https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5346
v0.84.8: feat: use IsSupportedFunction instead (#39)
Signed-off-by: clavinjune <24659468+clavinjune@users.noreply.github.com>
v0.84.7: utils: fix timestamp function validation in IsLikelyInvalid (#55)
Improve timestamp function compatibility with Prometheus.
Align timestamp behavior with Prometheus semantics, where it's treated as a transform function rather than a rollup, allowing usage with non-metric expressions like timestamp(sum(foo)).