mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
e02e0508da
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"}
75 lines
3.2 KiB
Modula-2
75 lines
3.2 KiB
Modula-2
module github.com/VictoriaMetrics/VictoriaMetrics
|
|
|
|
go 1.17
|
|
|
|
require (
|
|
cloud.google.com/go/storage v1.19.0
|
|
github.com/VictoriaMetrics/fastcache v1.8.0
|
|
|
|
// Do not use the original github.com/valyala/fasthttp because of issues
|
|
// like https://github.com/valyala/fasthttp/commit/996610f021ff45fdc98c2ce7884d5fa4e7f9199b
|
|
github.com/VictoriaMetrics/fasthttp v1.1.0
|
|
github.com/VictoriaMetrics/metrics v1.18.1
|
|
github.com/VictoriaMetrics/metricsql v0.38.0
|
|
github.com/aws/aws-sdk-go v1.42.42
|
|
github.com/cespare/xxhash/v2 v2.1.2
|
|
github.com/cheggaaa/pb/v3 v3.0.8
|
|
github.com/golang/snappy v0.0.4
|
|
github.com/influxdata/influxdb v1.9.5
|
|
github.com/klauspost/compress v1.14.2
|
|
github.com/prometheus/prometheus v1.8.2-0.20201119142752-3ad25a6dc3d9
|
|
github.com/urfave/cli/v2 v2.3.0
|
|
github.com/valyala/fastjson v1.6.3
|
|
github.com/valyala/fastrand v1.1.0
|
|
github.com/valyala/fasttemplate v1.2.1
|
|
github.com/valyala/gozstd v1.15.1
|
|
github.com/valyala/quicktemplate v1.7.0
|
|
golang.org/x/net v0.0.0-20220127074510-2fabfed7e28f
|
|
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8
|
|
golang.org/x/sys v0.0.0-20220114195835-da31bd327af9
|
|
google.golang.org/api v0.65.0
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
)
|
|
|
|
require (
|
|
cloud.google.com/go v0.100.2 // indirect
|
|
cloud.google.com/go/compute v1.1.0 // indirect
|
|
cloud.google.com/go/iam v0.1.1 // indirect
|
|
github.com/VividCortex/ewma v1.2.0 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/cpuguy83/go-md2man/v2 v2.0.1 // indirect
|
|
github.com/fatih/color v1.13.0 // indirect
|
|
github.com/go-kit/kit v0.12.0 // indirect
|
|
github.com/go-kit/log v0.2.0 // indirect
|
|
github.com/go-logfmt/logfmt v0.5.1 // indirect
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
github.com/golang/protobuf v1.5.2 // indirect
|
|
github.com/google/go-cmp v0.5.7 // indirect
|
|
github.com/googleapis/gax-go/v2 v2.1.1 // indirect
|
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
|
github.com/mattn/go-colorable v0.1.12 // indirect
|
|
github.com/mattn/go-isatty v0.0.14 // indirect
|
|
github.com/mattn/go-runewidth v0.0.13 // indirect
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
|
|
github.com/oklog/ulid v1.3.1 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/prometheus/client_golang v1.12.0 // indirect
|
|
github.com/prometheus/client_model v0.2.0 // indirect
|
|
github.com/prometheus/common v0.32.1 // indirect
|
|
github.com/prometheus/procfs v0.7.3 // indirect
|
|
github.com/rivo/uniseg v0.2.0 // indirect
|
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
|
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
|
github.com/valyala/histogram v1.2.0 // indirect
|
|
go.opencensus.io v0.23.0 // indirect
|
|
go.uber.org/atomic v1.9.0 // indirect
|
|
go.uber.org/goleak v1.1.11-0.20210813005559-691160354723 // indirect
|
|
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect
|
|
golang.org/x/text v0.3.7 // indirect
|
|
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect
|
|
google.golang.org/appengine v1.6.7 // indirect
|
|
google.golang.org/genproto v0.0.0-20220126215142-9970aeb2e350 // indirect
|
|
google.golang.org/grpc v1.44.0 // indirect
|
|
google.golang.org/protobuf v1.27.1 // indirect
|
|
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
|
|
)
|