File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ require (
7
7
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f
8
8
github.com/onsi/ginkgo v1.15.0
9
9
github.com/onsi/gomega v1.10.5
10
- go.opentelemetry.io/otel v0.16 .0
10
+ go.opentelemetry.io/otel v0.17 .0
11
11
)
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ package internal
3
3
import (
4
4
"context"
5
5
6
- "go.opentelemetry.io/otel"
7
6
"go.opentelemetry.io/otel/metric"
7
+ "go.opentelemetry.io/otel/metric/global"
8
8
)
9
9
10
10
var (
@@ -21,7 +21,7 @@ func init() {
21
21
}
22
22
}()
23
23
24
- meter := metric .Must (otel .Meter ("github.com/go-redis/redis" ))
24
+ meter := metric .Must (global .Meter ("github.com/go-redis/redis" ))
25
25
26
26
WritesCounter = meter .NewInt64Counter ("redis.writes" ,
27
27
metric .WithDescription ("the number of writes initiated" ),
You can’t perform that action at this time.
0 commit comments