Skip to content

Commit 58673fd

Browse files
authored
chore(deps): downgrade tally from v4 to v3.5.8 (#224)
Align with go-code uberfx/tallyfx, which injects tally.Scope from github.com/uber-go/tally rather than tally/v4. ## Why? Currently, this repo uses tally/v4, but we use v3 internally. The interface is the same but the types are not compatible. ## What? Swap to version of tally used internally ## Test Plan - Tests in this repo - Launch each of our internal services
1 parent edd4135 commit 58673fd

128 files changed

Lines changed: 151 additions & 154 deletions

File tree

Some content is hidden

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

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ use_repo(
5353
"com_github_go_sql_driver_mysql",
5454
"com_github_spf13_cobra",
5555
"com_github_stretchr_testify",
56-
"com_github_uber_go_tally_v4",
56+
"com_github_uber_go_tally",
5757
"in_gopkg_yaml_v3",
5858
"org_golang_google_grpc",
5959
"org_golang_google_grpc_cmd_protoc_gen_go_grpc",

core/metrics/BUILD.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ go_library(
77
visibility = ["//visibility:public"],
88
deps = [
99
"//core/errs",
10-
"@com_github_uber_go_tally_v4//:tally",
10+
"@com_github_uber_go_tally//:tally",
1111
],
1212
)
1313

@@ -18,6 +18,6 @@ go_test(
1818
deps = [
1919
"//core/errs",
2020
"@com_github_stretchr_testify//assert",
21-
"@com_github_uber_go_tally_v4//:tally",
21+
"@com_github_uber_go_tally//:tally",
2222
],
2323
)

core/metrics/metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ package metrics
1717
import (
1818
"time"
1919

20-
"github.com/uber-go/tally/v4"
20+
"github.com/uber-go/tally"
2121
"github.com/uber/submitqueue/core/errs"
2222
)
2323

core/metrics/metrics_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"time"
2121

2222
"github.com/stretchr/testify/assert"
23-
"github.com/uber-go/tally/v4"
23+
"github.com/uber-go/tally"
2424
"github.com/uber/submitqueue/core/errs"
2525
)
2626

example/stovepipe/gateway/server/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ go_library(
1313
deps = [
1414
"//stovepipe/gateway/controller",
1515
"//stovepipe/gateway/protopb",
16-
"@com_github_uber_go_tally_v4//:tally",
16+
"@com_github_uber_go_tally//:tally",
1717
"@org_golang_google_grpc//:grpc",
1818
"@org_golang_google_grpc//reflection",
1919
"@org_uber_go_zap//:zap",

example/stovepipe/gateway/server/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"syscall"
2626
"time"
2727

28-
"github.com/uber-go/tally/v4"
28+
"github.com/uber-go/tally"
2929
"github.com/uber/submitqueue/stovepipe/gateway/controller"
3030
pb "github.com/uber/submitqueue/stovepipe/gateway/protopb"
3131
"go.uber.org/zap"

example/stovepipe/orchestrator/server/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ go_library(
1313
deps = [
1414
"//stovepipe/orchestrator/controller",
1515
"//stovepipe/orchestrator/protopb",
16-
"@com_github_uber_go_tally_v4//:tally",
16+
"@com_github_uber_go_tally//:tally",
1717
"@org_golang_google_grpc//:grpc",
1818
"@org_golang_google_grpc//reflection",
1919
"@org_uber_go_zap//:zap",

example/stovepipe/orchestrator/server/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"syscall"
2626
"time"
2727

28-
"github.com/uber-go/tally/v4"
28+
"github.com/uber-go/tally"
2929
"github.com/uber/submitqueue/stovepipe/orchestrator/controller"
3030
pb "github.com/uber/submitqueue/stovepipe/orchestrator/protopb"
3131
"go.uber.org/zap"

example/submitqueue/gateway/server/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ go_library(
2424
"//submitqueue/gateway/controller/log",
2525
"//submitqueue/gateway/protopb",
2626
"@com_github_go_sql_driver_mysql//:mysql",
27-
"@com_github_uber_go_tally_v4//:tally",
27+
"@com_github_uber_go_tally//:tally",
2828
"@org_golang_google_grpc//:grpc",
2929
"@org_golang_google_grpc//codes",
3030
"@org_golang_google_grpc//reflection",

example/submitqueue/gateway/server/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import (
2727
"time"
2828

2929
_ "github.com/go-sql-driver/mysql"
30-
"github.com/uber-go/tally/v4"
30+
"github.com/uber-go/tally"
3131
"github.com/uber/submitqueue/core/errs"
3232
genericerrs "github.com/uber/submitqueue/core/errs/generic"
3333
mysqlerrs "github.com/uber/submitqueue/core/errs/mysql"

0 commit comments

Comments
 (0)