mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 08:23:34 +01:00
0ac2a51682
This adds more optimization cases for https://utcc.utoronto.ca/~cks/space/blog/sysadmin/PrometheusLabelNonOptimization For example: * Multi-level transform functions. For example, abs(round(foo{a="b"})) + bar{x="y"} is now optimized to abs(round(foo{a="b",x="y"})) + bar{a="b",x="y"} * Binary operations with `on()`, `without()`, `group_left()` and `group_right()` modifiers. For example, foo{a="b"} on (a) + bar is now optimized to foo{a="b"} on (a) + bar{a="b"} * Multi-level binary operations. For example, foo{a="b"} + bar{x="y"} + baz{z="q"} is now optimized to foo{a="b",x="y",z="q"} + bar{a="b",x="y",z="q"} + baz{a="b",x="y",z="q"} * Aggregate functions. For example, sum(foo{a="b"}) by (c) + bar{c="d"} is now optimized to sum(foo{a="b",c="d"}) by (c) + bar{c="d"} |
||
---|---|---|
.. | ||
aws/aws-sdk-go | ||
beorn7/perks | ||
cespare/xxhash/v2 | ||
cheggaaa/pb/v3 | ||
cpuguy83/go-md2man/v2 | ||
fatih/color | ||
go-kit | ||
go-logfmt/logfmt | ||
golang | ||
google/go-cmp | ||
googleapis/gax-go/v2 | ||
influxdata/influxdb | ||
jmespath/go-jmespath | ||
klauspost/compress | ||
lithammer/go-jump-consistent-hash | ||
mattn | ||
matttproud/golang_protobuf_extensions | ||
oklog/ulid | ||
pkg/errors | ||
prometheus | ||
rivo/uniseg | ||
russross/blackfriday/v2 | ||
urfave/cli/v2 | ||
valyala | ||
VictoriaMetrics | ||
VividCortex/ewma |