Skip to content

Commit 940adf6

Browse files
authored
Update prometheus version to v3.1.0 (#6583)
* Update prometheus verison to v3.1.0 Signed-off-by: SungJin1212 <[email protected]> * Fix test Signed-off-by: SungJin1212 <[email protected]> * Add sloglint Signed-off-by: SungJin1212 <[email protected]> * Support holt_winters function Signed-off-by: SungJin1212 <[email protected]> --------- Signed-off-by: SungJin1212 <[email protected]>
1 parent 0d7abe1 commit 940adf6

File tree

393 files changed

+17582
-8069
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

393 files changed

+17582
-8069
lines changed

.golangci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ linters:
88
- gofmt
99
- misspell
1010
- depguard
11+
- sloglint
1112

1213
linters-settings:
1314
staticcheck:

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
* [FEATURE] Querier/Ruler: Add `query_partial_data` and `rules_partial_data` limits to allow queries/rules to be evaluated with data from a single zone, if other zones are not available. #6526
77
* [FEATURE] Update prometheus alertmanager version to v0.28.0 and add new integration msteamsv2, jira, and rocketchat. #6590
88
* [ENHANCEMENT] Alertmanager: Add new limits `-alertmanager.max-silences-count` and `-alertmanager.max-silences-size-bytes` for limiting silences per tenant. #6605
9+
* [ENHANCEMENT] Update prometheus version to v3.1.0. #6583
910
* [ENHANCEMENT] Add `compactor.auto-forget-delay` for compactor to auto forget compactors after X minutes without heartbeat. #6533
1011
* [ENHANCEMENT] StoreGateway: Emit more histogram buckets on the `cortex_querier_storegateway_refetches_per_query` metric. #6570
1112
* [ENHANCEMENT] Querier: Apply bytes limiter to LabelNames and LabelValuesForLabelNames. #6568

go.mod

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ require (
4545
github.com/prometheus/client_model v0.6.1
4646
github.com/prometheus/common v0.61.0
4747
// Prometheus maps version 2.x.y to tags v0.x.y.
48-
github.com/prometheus/prometheus v0.55.1
48+
github.com/prometheus/prometheus v0.301.0
4949
github.com/segmentio/fasthash v1.0.3
5050
github.com/sony/gobreaker v1.0.0
5151
github.com/spf13/afero v1.11.0
5252
github.com/stretchr/testify v1.10.0
5353
github.com/thanos-io/objstore v0.0.0-20241111205755-d1dd89d41f97
54-
github.com/thanos-io/promql-engine v0.0.0-20250110162513-14f995518af3
55-
github.com/thanos-io/thanos v0.37.3-0.20250203070737-57efc2aacd6f
54+
github.com/thanos-io/promql-engine v0.0.0-20250211181629-815830ca3e2e
55+
github.com/thanos-io/thanos v0.37.3-0.20250212101700-346d18bb0f80
5656
github.com/uber/jaeger-client-go v2.30.0+incompatible
5757
github.com/weaveworks/common v0.0.0-20230728070032-dd9e68f319d5
5858
go.etcd.io/etcd/api/v3 v3.5.17
@@ -69,7 +69,7 @@ require (
6969
golang.org/x/net v0.33.0
7070
golang.org/x/sync v0.10.0
7171
golang.org/x/time v0.8.0
72-
google.golang.org/grpc v1.68.1
72+
google.golang.org/grpc v1.69.0
7373
gopkg.in/yaml.v2 v2.4.0
7474
gopkg.in/yaml.v3 v3.0.1
7575
)
@@ -90,13 +90,13 @@ require (
9090

9191
require (
9292
cloud.google.com/go v0.115.1 // indirect
93-
cloud.google.com/go/auth v0.9.3 // indirect
94-
cloud.google.com/go/auth/oauth2adapt v0.2.4 // indirect
95-
cloud.google.com/go/compute/metadata v0.5.0 // indirect
93+
cloud.google.com/go/auth v0.13.0 // indirect
94+
cloud.google.com/go/auth/oauth2adapt v0.2.6 // indirect
95+
cloud.google.com/go/compute/metadata v0.6.0 // indirect
9696
cloud.google.com/go/iam v1.1.13 // indirect
9797
cloud.google.com/go/storage v1.43.0 // indirect
98-
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.14.0 // indirect
99-
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0 // indirect
98+
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.16.0 // indirect
99+
github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.8.0 // indirect
100100
github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0 // indirect
101101
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.3.0 // indirect
102102
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 // indirect
@@ -129,11 +129,11 @@ require (
129129
github.com/dgryski/go-metro v0.0.0-20200812162917-85c65e2d0165 // indirect
130130
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect
131131
github.com/docker/go-units v0.5.0 // indirect
132-
github.com/edsrzf/mmap-go v1.1.0 // indirect
132+
github.com/edsrzf/mmap-go v1.2.0 // indirect
133133
github.com/efficientgo/tools/extkingpin v0.0.0-20220817170617-6c25e3b627dd // indirect
134134
github.com/fatih/color v1.16.0 // indirect
135135
github.com/felixge/httpsnoop v1.0.4 // indirect
136-
github.com/fsnotify/fsnotify v1.7.0 // indirect
136+
github.com/fsnotify/fsnotify v1.8.0 // indirect
137137
github.com/go-ini/ini v1.67.0 // indirect
138138
github.com/go-logfmt/logfmt v0.6.0 // indirect
139139
github.com/go-logr/logr v1.4.2 // indirect
@@ -152,11 +152,11 @@ require (
152152
github.com/golang-jwt/jwt/v5 v5.2.1 // indirect
153153
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
154154
github.com/google/btree v1.1.2 // indirect
155-
github.com/google/pprof v0.0.0-20240827171923-fa2c70bbbfe5 // indirect
155+
github.com/google/pprof v0.0.0-20241210010833-40e02aabc2ad // indirect
156156
github.com/google/s2a-go v0.1.8 // indirect
157157
github.com/google/uuid v1.6.0 // indirect
158158
github.com/googleapis/enterprise-certificate-proxy v0.3.4 // indirect
159-
github.com/googleapis/gax-go/v2 v2.13.0 // indirect
159+
github.com/googleapis/gax-go/v2 v2.14.0 // indirect
160160
github.com/grpc-ecosystem/go-grpc-middleware/v2 v2.1.0 // indirect
161161
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0 // indirect
162162
github.com/hashicorp/errwrap v1.1.0 // indirect
@@ -199,6 +199,7 @@ require (
199199
github.com/prometheus/common/sigv4 v0.1.0 // indirect
200200
github.com/prometheus/exporter-toolkit v0.13.2 // indirect
201201
github.com/prometheus/procfs v0.15.1 // indirect
202+
github.com/prometheus/sigv4 v0.1.0 // indirect
202203
github.com/redis/rueidis v1.0.45-alpha.1 // indirect
203204
github.com/rs/cors v1.11.1 // indirect
204205
github.com/rs/xid v1.6.0 // indirect
@@ -218,9 +219,10 @@ require (
218219
go.mongodb.org/mongo-driver v1.14.0 // indirect
219220
go.opencensus.io v0.24.0 // indirect
220221
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
221-
go.opentelemetry.io/collector/semconv v0.108.1 // indirect
222-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.49.0 // indirect
223-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.54.0 // indirect
222+
go.opentelemetry.io/collector/semconv v0.116.0 // indirect
223+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.54.0 // indirect
224+
go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.58.0 // indirect
225+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0 // indirect
224226
go.opentelemetry.io/contrib/propagators/autoprop v0.54.0 // indirect
225227
go.opentelemetry.io/contrib/propagators/b3 v1.29.0 // indirect
226228
go.opentelemetry.io/contrib/propagators/jaeger v1.29.0 // indirect
@@ -239,14 +241,14 @@ require (
239241
golang.org/x/text v0.21.0 // indirect
240242
golang.org/x/tools v0.28.0 // indirect
241243
gonum.org/v1/gonum v0.15.0 // indirect
242-
google.golang.org/api v0.195.0 // indirect
244+
google.golang.org/api v0.213.0 // indirect
243245
google.golang.org/genproto v0.0.0-20240823204242-4ba0660f739c // indirect
244-
google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576 // indirect
246+
google.golang.org/genproto/googleapis/api v0.0.0-20241216192217-9240e9c98484 // indirect
245247
google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576 // indirect
246248
gopkg.in/alecthomas/kingpin.v2 v2.2.6 // indirect
247249
gopkg.in/telebot.v3 v3.3.8 // indirect
248-
k8s.io/apimachinery v0.31.1 // indirect
249-
k8s.io/client-go v0.31.0 // indirect
250+
k8s.io/apimachinery v0.31.3 // indirect
251+
k8s.io/client-go v0.31.3 // indirect
250252
k8s.io/klog/v2 v2.130.1 // indirect
251253
k8s.io/utils v0.0.0-20240711033017-18e509b52bc8 // indirect
252254
)

0 commit comments

Comments
 (0)