mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
9e5e514faf
Previously the was a race condition when the background goroutine still could try collecting metrics
from already stopped resources after returning from pushmetrics.Stop().
Now the pushmetrics.Stop() waits until the background goroutine is stopped before returning.
This is a follow-up for https://github.com/VictoriaMetrics/VictoriaMetrics/pull/5549
and the commit fe2d9f6646
.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/5548
136 lines
6.6 KiB
Modula-2
136 lines
6.6 KiB
Modula-2
module github.com/VictoriaMetrics/VictoriaMetrics
|
|
|
|
go 1.20
|
|
|
|
require (
|
|
cloud.google.com/go/storage v1.35.1
|
|
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.9.1
|
|
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.2.0
|
|
github.com/VictoriaMetrics/easyproto v0.1.4
|
|
github.com/VictoriaMetrics/fastcache v1.12.2
|
|
|
|
// 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.2.0
|
|
github.com/VictoriaMetrics/metrics v1.30.0
|
|
github.com/VictoriaMetrics/metricsql v0.70.0
|
|
github.com/aws/aws-sdk-go-v2 v1.24.0
|
|
github.com/aws/aws-sdk-go-v2/config v1.26.1
|
|
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.15.7
|
|
github.com/aws/aws-sdk-go-v2/service/s3 v1.47.5
|
|
github.com/bmatcuk/doublestar/v4 v4.6.1
|
|
github.com/cespare/xxhash/v2 v2.2.0
|
|
github.com/cheggaaa/pb/v3 v3.1.4
|
|
github.com/gogo/protobuf v1.3.2
|
|
github.com/golang/snappy v0.0.4
|
|
github.com/googleapis/gax-go/v2 v2.12.0
|
|
github.com/influxdata/influxdb v1.11.2
|
|
github.com/klauspost/compress v1.17.4
|
|
github.com/prometheus/prometheus v0.48.1
|
|
github.com/urfave/cli/v2 v2.26.0
|
|
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.20.1
|
|
github.com/valyala/histogram v1.2.0
|
|
github.com/valyala/quicktemplate v1.7.0
|
|
golang.org/x/net v0.19.0
|
|
golang.org/x/oauth2 v0.15.0
|
|
golang.org/x/sys v0.15.0
|
|
google.golang.org/api v0.154.0
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
)
|
|
|
|
require (
|
|
cloud.google.com/go v0.111.0 // indirect
|
|
cloud.google.com/go/compute v1.23.3 // indirect
|
|
cloud.google.com/go/compute/metadata v0.2.3 // indirect
|
|
cloud.google.com/go/iam v1.1.5 // indirect
|
|
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.4.0 // indirect
|
|
github.com/Azure/azure-sdk-for-go/sdk/internal v1.5.1 // indirect
|
|
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.0 // indirect
|
|
github.com/VividCortex/ewma v1.2.0 // indirect
|
|
github.com/alecthomas/units v0.0.0-20231202071711-9a357b53e9c9 // indirect
|
|
github.com/aws/aws-sdk-go v1.49.1 // indirect
|
|
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.5.4 // indirect
|
|
github.com/aws/aws-sdk-go-v2/credentials v1.16.12 // indirect
|
|
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.10 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.9 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.9 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/ini v1.7.2 // indirect
|
|
github.com/aws/aws-sdk-go-v2/internal/v4a v1.2.9 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.2.9 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.9 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.16.9 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sso v1.18.5 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.5 // indirect
|
|
github.com/aws/aws-sdk-go-v2/service/sts v1.26.5 // indirect
|
|
github.com/aws/smithy-go v1.19.0 // indirect
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
github.com/cpuguy83/go-md2man/v2 v2.0.3 // 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.16.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.3.0 // indirect
|
|
github.com/go-logr/stdr v1.2.2 // indirect
|
|
github.com/golang-jwt/jwt/v5 v5.2.0 // indirect
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
|
github.com/golang/protobuf v1.5.3 // indirect
|
|
github.com/google/s2a-go v0.1.7 // indirect
|
|
github.com/google/uuid v1.5.0 // indirect
|
|
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
|
|
github.com/grafana/regexp v0.0.0-20221122212121-6b5c0a4cb7fd // 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-isatty v0.0.20 // indirect
|
|
github.com/mattn/go-runewidth v0.0.15 // indirect
|
|
github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // 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-20210911075715-681adbf594b8 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
|
github.com/prometheus/client_golang v1.17.0 // indirect
|
|
github.com/prometheus/client_model v0.5.0 // indirect
|
|
github.com/prometheus/common v0.45.0 // indirect
|
|
github.com/prometheus/common/sigv4 v0.1.0 // indirect
|
|
github.com/prometheus/procfs v0.12.0 // indirect
|
|
github.com/rivo/uniseg v0.4.4 // indirect
|
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
|
github.com/stretchr/testify v1.8.4 // indirect
|
|
github.com/valyala/bytebufferpool v1.0.0 // indirect
|
|
github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
|
|
go.opencensus.io v0.24.0 // indirect
|
|
go.opentelemetry.io/collector/pdata v1.0.0 // indirect
|
|
go.opentelemetry.io/collector/semconv v0.91.0 // indirect
|
|
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.1 // indirect
|
|
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 // indirect
|
|
go.opentelemetry.io/otel v1.21.0 // indirect
|
|
go.opentelemetry.io/otel/metric v1.21.0 // indirect
|
|
go.opentelemetry.io/otel/trace v1.21.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.16.0 // indirect
|
|
golang.org/x/exp v0.0.0-20231206192017-f3f8817b8deb // indirect
|
|
golang.org/x/sync v0.5.0 // indirect
|
|
golang.org/x/text v0.14.0 // indirect
|
|
golang.org/x/time v0.5.0 // indirect
|
|
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
|
|
google.golang.org/appengine v1.6.8 // indirect
|
|
google.golang.org/genproto v0.0.0-20231212172506-995d672761c0 // indirect
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20231212172506-995d672761c0 // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20231212172506-995d672761c0 // indirect
|
|
google.golang.org/grpc v1.60.0 // indirect
|
|
google.golang.org/protobuf v1.31.0 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|