Skip to content

Commit db5eb67

Browse files
authored
Revert "Upgrade tally to v4 (fixes #1157) (#1168)" (#1191)
This reverts commit 2f29329.
1 parent eec90e7 commit db5eb67

25 files changed

+29
-83
lines changed

activity/activity.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ package activity
2323
import (
2424
"context"
2525

26-
"github.com/uber-go/tally/v4"
26+
"github.com/uber-go/tally"
2727
"go.uber.org/cadence/internal"
2828
"go.uber.org/zap"
2929
)

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ require (
1414
github.com/pborman/uuid v0.0.0-20160209185913-a97ce2ca70fa
1515
github.com/robfig/cron v1.2.0
1616
github.com/stretchr/testify v1.5.1
17-
github.com/twmb/murmur3 v1.1.6 // indirect
18-
github.com/uber-go/tally/v4 v4.1.1
17+
github.com/uber-go/tally v3.3.15+incompatible
1918
github.com/uber/cadence-idl v0.0.0-20220713235846-fda89e95df1e
2019
github.com/uber/jaeger-client-go v2.22.1+incompatible
2120
github.com/uber/tchannel-go v1.32.1

go.sum

Lines changed: 5 additions & 58 deletions
Large diffs are not rendered by default.

internal/activity.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/opentracing/opentracing-go"
30-
"github.com/uber-go/tally/v4"
30+
"github.com/uber-go/tally"
3131
"go.uber.org/cadence/.gen/go/shared"
3232
"go.uber.org/zap"
3333
"go.uber.org/zap/zapcore"

internal/client.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/opentracing/opentracing-go"
30-
"github.com/uber-go/tally/v4"
30+
"github.com/uber-go/tally"
3131
"go.uber.org/cadence/.gen/go/cadence/workflowserviceclient"
3232
s "go.uber.org/cadence/.gen/go/shared"
3333
"go.uber.org/cadence/internal/common/auth"

internal/common/metrics/capturingStatsReporter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"io"
2525
"time"
2626

27-
"github.com/uber-go/tally/v4"
27+
"github.com/uber-go/tally"
2828
)
2929

3030
// NewMetricsScope returns a new metric scope

internal/common/metrics/scope.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
"sync"
2525
"time"
2626

27-
"github.com/uber-go/tally/v4"
27+
"github.com/uber-go/tally"
2828
)
2929

3030
type (

internal/common/metrics/scope_test.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/stretchr/testify/require"
30-
"github.com/uber-go/tally/v4"
30+
"github.com/uber-go/tally"
3131
)
3232

3333
func Test_Counter(t *testing.T) {

internal/common/metrics/service_wrapper.go

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

28-
"github.com/uber-go/tally/v4"
28+
"github.com/uber-go/tally"
2929
"go.uber.org/cadence/.gen/go/cadence/workflowserviceclient"
3030
"go.uber.org/cadence/.gen/go/shared"
3131
"go.uber.org/yarpc"

internal/common/metrics/service_wrapper_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import (
3030

3131
"github.com/golang/mock/gomock"
3232
"github.com/stretchr/testify/require"
33-
"github.com/uber-go/tally/v4"
33+
"github.com/uber-go/tally"
3434
"github.com/uber/tchannel-go/thrift"
3535
"go.uber.org/cadence/.gen/go/cadence/workflowserviceclient"
3636
"go.uber.org/cadence/.gen/go/cadence/workflowservicetest"

0 commit comments

Comments
 (0)