mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-05 01:01:09 +01:00
bb399518db
Previously, for `^` aka pow function calls, VictoriaMetrics returned `1` if left arg was Nan. For example, given query=`(hour()==2)^1` returns 1 for NaN produced by hour() == 2 function. It added additional non-exist datapoints to the timeseries. This commit port bugfix from `metricql` package and adds test for it. Now, VictoriaMetrics correctly returns `NaN` for such cases. Related issue: https://github.com/VictoriaMetrics/VictoriaMetrics/issues/7359 Signed-off-by: f41gh7 <nik@victoriametrics.com>
137 lines
6.6 KiB
Modula-2
137 lines
6.6 KiB
Modula-2
module github.com/VictoriaMetrics/VictoriaMetrics
|
|
|
|
go 1.23.1
|
|
|
|
require (
|
|
cloud.google.com/go/storage v1.43.0
|
|
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.14.0
|
|
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0
|
|
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.4.1
|
|
github.com/VictoriaMetrics/easyproto v0.1.4
|
|
github.com/VictoriaMetrics/fastcache v1.12.2
|
|
github.com/VictoriaMetrics/metrics v1.35.1
|
|
github.com/VictoriaMetrics/metricsql v0.80.0
|
|
github.com/aws/aws-sdk-go-v2 v1.31.0
|
|
github.com/aws/aws-sdk-go-v2/config v1.27.38
|
|
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.24
|
|
github.com/aws/aws-sdk-go-v2/service/s3 v1.63.2
|
|
github.com/bmatcuk/doublestar/v4 v4.6.1
|
|
github.com/cespare/xxhash/v2 v2.3.0
|
|
github.com/cheggaaa/pb/v3 v3.1.5
|
|
github.com/ergochat/readline v0.1.3
|
|
github.com/gogo/protobuf v1.3.2
|
|
github.com/golang/snappy v0.0.4
|
|
github.com/google/go-cmp v0.6.0
|
|
github.com/googleapis/gax-go/v2 v2.13.0
|
|
github.com/influxdata/influxdb v1.11.6
|
|
github.com/klauspost/compress v1.17.10
|
|
github.com/mattn/go-isatty v0.0.20
|
|
github.com/prometheus/prometheus v0.54.1
|
|
github.com/urfave/cli/v2 v2.27.4
|
|
github.com/valyala/fastjson v1.6.4
|
|
github.com/valyala/fastrand v1.1.0
|
|
github.com/valyala/fasttemplate v1.2.2
|
|
github.com/valyala/gozstd v1.21.2
|
|
github.com/valyala/histogram v1.2.0
|
|
github.com/valyala/quicktemplate v1.8.0
|
|
golang.org/x/net v0.29.0
|
|
golang.org/x/oauth2 v0.23.0
|
|
golang.org/x/sys v0.27.0
|
|
google.golang.org/api v0.199.0
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
)
|
|
|
|
require (
|
|
cloud.google.com/go v0.115.1 // indirect
|
|
cloud.google.com/go/auth v0.9.5 // indirect
|
|
cloud.google.com/go/auth/oauth2adapt v0.2.4 // indirect
|
|
cloud.google.com/go/compute/metadata v0.5.2 // indirect
|
|
cloud.google.com/go/iam v1.2.1 // indirect
|
|
github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0 // indirect
|
|
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 // indirect
|
|
github.com/VividCortex/ewma v1.2.0 // indirect
|
|
github.com/alecthomas/units v0.0.0-20240626203959-61d1e3462e30 // indirect
|
|
github.com/aws/aws-sdk-go v1.55.5 // indirect
|
|
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.5 // indirect
|
|
github.com/aws/aws-sdk-go-v2/credentials v1.17.36 // indirect
|
|
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.14 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.18 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.18 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.18 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.5 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.20 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.20 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.18 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sso v1.23.2 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.27.2 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sts v1.31.2 // indirect
|
|
github.com/aws/smithy-go v1.21.0 // indirect
|
|
github.com/bboreham/go-loser v0.0.0-20230920113527-fcc2c21820a3 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect
|
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
|
github.com/dennwc/varint v1.0.0 // indirect
|
|
github.com/fatih/color v1.17.0 // indirect
|
|
github.com/felixge/httpsnoop v1.0.4 // indirect
|
|
github.com/go-kit/log v0.2.1 // indirect
|
|
github.com/go-logfmt/logfmt v0.6.0 // indirect
|
|
github.com/go-logr/logr v1.4.2 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/golang-jwt/jwt/v5 v5.2.1 // indirect
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
github.com/google/s2a-go v0.1.8 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect
|
|
github.com/grafana/regexp v0.0.0-20240518133315-a468a5bfb3bc // indirect
|
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
|
github.com/jpillora/backoff v1.0.0 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/kylelemons/godebug v1.1.0 // indirect
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
|
github.com/mattn/go-runewidth v0.0.16 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
|
|
github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f // indirect
|
|
github.com/oklog/ulid v1.3.1 // indirect
|
|
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
|
github.com/prometheus/client_golang v1.20.4 // indirect
|
|
github.com/prometheus/client_model v0.6.1 // indirect
|
|
github.com/prometheus/common v0.59.1 // indirect
|
|
github.com/prometheus/common/sigv4 v0.1.0 // indirect
|
|
github.com/prometheus/procfs v0.15.1 // indirect
|
|
github.com/rivo/uniseg v0.4.7 // indirect
|
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
|
github.com/stretchr/testify v1.9.0 // indirect
|
|
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
|
github.com/xrash/smetrics v0.0.0-20240521201337-686a1a2994c1 // indirect
|
|
go.opencensus.io v0.24.0 // indirect
|
|
go.opentelemetry.io/collector/pdata v1.16.0 // indirect
|
|
go.opentelemetry.io/collector/semconv v0.110.0 // indirect
|
|
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.55.0 // indirect
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.55.0 // indirect
|
|
go.opentelemetry.io/otel v1.30.0 // indirect
|
|
go.opentelemetry.io/otel/metric v1.30.0 // indirect
|
|
go.opentelemetry.io/otel/trace v1.30.0 // indirect
|
|
go.uber.org/atomic v1.11.0 // indirect
|
|
go.uber.org/goleak v1.3.0 // indirect
|
|
go.uber.org/multierr v1.11.0 // indirect
|
|
golang.org/x/crypto v0.27.0 // indirect
|
|
golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 // indirect
|
|
golang.org/x/sync v0.8.0 // indirect
|
|
golang.org/x/text v0.18.0 // indirect
|
|
golang.org/x/time v0.6.0 // indirect
|
|
google.golang.org/genproto v0.0.0-20240924160255-9d4c2d233b61 // indirect
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20240924160255-9d4c2d233b61 // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20240924160255-9d4c2d233b61 // indirect
|
|
google.golang.org/grpc v1.67.0 // indirect
|
|
google.golang.org/protobuf v1.34.2 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
k8s.io/apimachinery v0.31.1 // indirect
|
|
k8s.io/client-go v0.31.1 // indirect
|
|
k8s.io/klog/v2 v2.130.1 // indirect
|
|
k8s.io/utils v0.0.0-20240921022957-49e7df575cb6 // indirect
|
|
)
|