Skip to content

Commit 9434646

Browse files
committed
Remove OpenTelemetry metrics for now
1 parent b7d23d4 commit 9434646

File tree

3 files changed

+0
-37
lines changed

3 files changed

+0
-37
lines changed

internal/instruments.go

Lines changed: 0 additions & 33 deletions
This file was deleted.

internal/pool/conn.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import (
77
"sync/atomic"
88
"time"
99

10-
"github.com/go-redis/redis/v8/internal"
1110
"github.com/go-redis/redis/v8/internal/proto"
1211
)
1312

@@ -90,8 +89,6 @@ func (cn *Conn) WithWriter(
9089
return err
9190
}
9291

93-
internal.WritesCounter.Add(ctx, 1)
94-
9592
return nil
9693
}
9794

internal/pool/pool.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ func (p *ConnPool) dialConn(ctx context.Context, pooled bool) (*Conn, error) {
188188
return nil, err
189189
}
190190

191-
internal.NewConnectionsCounter.Add(ctx, 1)
192191
cn := NewConn(netConn)
193192
cn.pooled = pooled
194193
return cn, nil

0 commit comments

Comments
 (0)