Skip to content

Commit bdb0a06

Browse files
committed
Upgrade Prometheus
Signed-off-by: Marco Pracucci <marco@pracucci.com>
1 parent 184bffd commit bdb0a06

File tree

186 files changed

+5609
-3255
lines changed

Some content is hidden

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

186 files changed

+5609
-3255
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* New exported metrics:
2727
* `cortex_bucket_store_series_hash_cache_requests_total`
2828
* `cortex_bucket_store_series_hash_cache_hits_total`
29+
* [FEATURE] PromQL: added `present_over_time` support. #139
2930
* [ENHANCEMENT] Include additional limits in the per-tenant override exporter. The following limits have been added to the `cortex_overrides` metric: #21
3031
* `max_fetched_series_per_query`
3132
* `max_fetched_chunk_bytes_per_query`

go.mod

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ require (
1111
github.com/alecthomas/units v0.0.0-20210208195552-ff826a37aa15
1212
github.com/alicebob/miniredis/v2 v2.14.3
1313
github.com/armon/go-metrics v0.3.6
14-
github.com/aws/aws-sdk-go v1.38.60
14+
github.com/aws/aws-sdk-go v1.40.10
1515
github.com/bradfitz/gomemcache v0.0.0-20190913173617-a41fca850d0b
1616
github.com/cespare/xxhash v1.1.0
1717
github.com/dustin/go-humanize v1.0.0
@@ -26,11 +26,11 @@ require (
2626
github.com/gogo/protobuf v1.3.2
2727
github.com/gogo/status v1.0.3
2828
github.com/golang/protobuf v1.5.2
29-
github.com/golang/snappy v0.0.3
30-
github.com/gorilla/mux v1.7.3
29+
github.com/golang/snappy v0.0.4
30+
github.com/gorilla/mux v1.8.0
3131
github.com/grafana/dskit v0.0.0-20210813141227-f25e16ec09b2
3232
github.com/grpc-ecosystem/go-grpc-middleware v1.2.2
33-
github.com/hashicorp/consul/api v1.8.1
33+
github.com/hashicorp/consul/api v1.9.1
3434
github.com/hashicorp/go-cleanhttp v0.5.1
3535
github.com/hashicorp/go-sockaddr v1.0.2
3636
github.com/hashicorp/memberlist v0.2.3
@@ -47,11 +47,11 @@ require (
4747
github.com/prometheus/alertmanager v0.22.3-0.20210628111558-8491f816296b
4848
github.com/prometheus/client_golang v1.11.0
4949
github.com/prometheus/client_model v0.2.0
50-
github.com/prometheus/common v0.29.0
50+
github.com/prometheus/common v0.30.0
5151
github.com/prometheus/prometheus v1.8.2-0.20210720123808-b1ed4a0a663d
5252
github.com/segmentio/fasthash v0.0.0-20180216231524-a72b379d632e
5353
github.com/sony/gobreaker v0.4.1
54-
github.com/spf13/afero v1.2.2
54+
github.com/spf13/afero v1.3.4
5555
github.com/stretchr/testify v1.7.0
5656
github.com/thanos-io/thanos v0.19.1-0.20210804003402-cd18b6155169
5757
github.com/uber/jaeger-client-go v2.29.1+incompatible
@@ -62,12 +62,11 @@ require (
6262
go.etcd.io/etcd/server/v3 v3.5.0-alpha.0.0.20210225194612-fa82d11a958a
6363
go.uber.org/atomic v1.9.0
6464
go.uber.org/goleak v1.1.10
65-
golang.org/x/net v0.0.0-20210610132358-84b48f89b13b
65+
golang.org/x/net v0.0.0-20210726213435-c6fcb2dbf985
6666
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
67-
golang.org/x/time v0.0.0-20210611083556-38a9dc6acbc6
68-
golang.org/x/tools v0.1.5 // indirect
69-
google.golang.org/api v0.48.0
70-
google.golang.org/grpc v1.38.0
67+
golang.org/x/time v0.0.0-20210723032227-1f47c861a9ac
68+
google.golang.org/api v0.51.0
69+
google.golang.org/grpc v1.39.0
7170
gopkg.in/yaml.v2 v2.4.0
7271
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b
7372
sigs.k8s.io/yaml v1.2.0
@@ -87,9 +86,12 @@ replace github.com/gocql/gocql => github.com/grafana/gocql v0.0.0-20200605141915
8786
replace github.com/bradfitz/gomemcache => github.com/themihai/gomemcache v0.0.0-20180902122335-24332e2d58ab
8887

8988
// Using a fork of Prometheus while we work on querysharding to avoid a dependency on the upstream.
90-
replace github.com/prometheus/prometheus => github.com/grafana/prometheus-private v0.0.0-20210720123808-b1ed4a0a663d
89+
replace github.com/prometheus/prometheus => github.com/grafana/prometheus-private v0.0.0-20210813131603-a3ad21265842
9190

9291
// Pin hashicorp depencencies since the Prometheus fork, go mod tries to update them.
9392
replace github.com/hashicorp/go-immutable-radix => github.com/hashicorp/go-immutable-radix v1.2.0
9493

9594
replace github.com/hashicorp/go-hclog => github.com/hashicorp/go-hclog v0.12.2
95+
96+
// TODO review the change introduced by https://github.com/grpc/grpc-go/pull/4416 before upgrading to 1.39.0
97+
replace google.golang.org/grpc => google.golang.org/grpc v1.38.0

go.sum

Lines changed: 106 additions & 102 deletions
Large diffs are not rendered by default.

vendor/cloud.google.com/go/CHANGES.md

Lines changed: 75 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/cloud.google.com/go/README.md

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/cloud.google.com/go/go.mod

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)