Skip to content

Commit f22f3db

Browse files
authored
Upgrade cortex to v1.11.1 and dependencies (#5)
* Update cortexproject/cortex to v1.11.1 Signed-off-by: Friedrich Gonzalez <[email protected]>
1 parent 9aecc18 commit f22f3db

File tree

885 files changed

+126011
-4091
lines changed

Some content is hidden

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

885 files changed

+126011
-4091
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ Order should be `CHANGE`, `FEATURE`, `ENHANCEMENT`, and `BUGFIX`
66

77
* [CHANGE] Rename to cortexproject/cortex-tools #2
88
* [CHANGE] Update go image to v1.16.15. #4
9+
* [CHANGE] Upgrade cortex to v1.11.1 #5
10+
* [CHANGE] Match grafana/dskit with version used by cortex v1.11.1 #5
11+
* [CHANGE] Match prometheus/common with version used by cortex v1.11.1 #5
12+
* [CHANGE] Match prometheus/prometheus with version used by cortex v1.11.1 #5
913
* [CHANGE] Remove loki support #7
1014
* [FEATURE] Support Arm64 on Darwin for all binaries (benchtool etc). #215
1115
* [BUGFIX] Fix `cortextool rules` legends displaying wrong symbols for updates and deletions. #226

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ require (
88
github.com/alecthomas/chroma v0.7.0
99
github.com/alecthomas/repr v0.0.0-20181024024818-d37bc2a10ba1 // indirect
1010
github.com/alecthomas/units v0.0.0-20210912230133-d1bdfacee922
11-
github.com/cortexproject/cortex v1.10.1-0.20211104100946-3f329a21cad4
11+
github.com/cortexproject/cortex v1.11.1
1212
github.com/dlclark/regexp2 v1.2.0 // indirect
1313
github.com/go-kit/log v0.2.0
1414
github.com/gocql/gocql v0.0.0-20200526081602-cd04bd7f22a7
@@ -24,16 +24,16 @@ require (
2424
github.com/google/go-github/v32 v32.1.0
2525
github.com/gorilla/mux v1.8.0
2626
github.com/grafana-tools/sdk v0.0.0-20220203092117-edae16afa87b
27-
github.com/grafana/dskit v0.0.0-20211103155626-4e784973d341
27+
github.com/grafana/dskit v0.0.0-20210908150159-fcf48cb19aa4
2828
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db
2929
github.com/oklog/ulid v1.3.1
3030
github.com/opentracing-contrib/go-stdlib v1.0.0
3131
github.com/opentracing/opentracing-go v1.2.0
3232
github.com/pkg/errors v0.9.1
3333
github.com/prometheus/alertmanager v0.23.1-0.20210914172521-e35efbddb66a
3434
github.com/prometheus/client_golang v1.11.0
35-
github.com/prometheus/common v0.31.1
36-
github.com/prometheus/prometheus v1.8.2-0.20211011171444-354d8d2ecfac
35+
github.com/prometheus/common v0.30.0
36+
github.com/prometheus/prometheus v1.8.2-0.20210914090109-37468d88dce8
3737
github.com/sirupsen/logrus v1.8.1
3838
github.com/stretchr/testify v1.7.0
3939
github.com/thanos-io/thanos v0.22.0

go.sum

Lines changed: 41 additions & 18 deletions
Large diffs are not rendered by default.

pkg/bench/ring_check.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ import (
99
"time"
1010

1111
ingester_client "github.com/cortexproject/cortex/pkg/ingester/client"
12+
"github.com/cortexproject/cortex/pkg/ring"
1213
"github.com/go-kit/log"
1314
"github.com/go-kit/log/level"
1415
"github.com/grafana/dskit/kv/codec"
1516
"github.com/grafana/dskit/kv/memberlist"
16-
"github.com/grafana/dskit/ring"
1717
"github.com/prometheus/client_golang/prometheus"
1818
"github.com/prometheus/prometheus/prompb"
1919
"github.com/thanos-io/thanos/pkg/discovery/dns"
@@ -72,7 +72,7 @@ func NewRingChecker(id string, instanceName string, cfg RingCheckConfig, workloa
7272
cfg.RingConfig.KVStore.MemberlistKV = r.MemberlistKV.GetMemberlistKV
7373

7474
var err error
75-
r.Ring, err = ring.New(cfg.RingConfig, "ingester", ring.IngesterRingKey, logger, reg)
75+
r.Ring, err = ring.New(cfg.RingConfig, "ingester", ring.IngesterRingKey, reg)
7676
if err != nil {
7777
return nil, err
7878
}

pkg/client/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"strings"
1212
"time"
1313

14-
"github.com/grafana/dskit/crypto/tls"
14+
tls "github.com/grafana/dskit/kv/kvtls"
1515
"github.com/pkg/errors"
1616
log "github.com/sirupsen/logrus"
1717
)

vendor/github.com/coreos/etcd/pkg/fileutil/dir_unix.go

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

vendor/github.com/coreos/etcd/pkg/fileutil/dir_windows.go

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

vendor/github.com/coreos/etcd/pkg/fileutil/fileutil.go

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

vendor/github.com/coreos/etcd/pkg/fileutil/purge.go

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

vendor/github.com/cortexproject/cortex/pkg/alertmanager/alertmanager_client.go

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

0 commit comments

Comments
 (0)