Skip to content

Commit

Permalink
Remove OpenTelemetry metrics for now
Browse files Browse the repository at this point in the history
  • Loading branch information
vmihailenco committed Jun 30, 2021
1 parent b7d23d4 commit 9434646
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 37 deletions.
33 changes: 0 additions & 33 deletions internal/instruments.go

This file was deleted.

3 changes: 0 additions & 3 deletions internal/pool/conn.go
Expand Up @@ -7,7 +7,6 @@ import (
"sync/atomic"
"time"

"github.com/go-redis/redis/v8/internal"
"github.com/go-redis/redis/v8/internal/proto"
)

Expand Down Expand Up @@ -90,8 +89,6 @@ func (cn *Conn) WithWriter(
return err
}

internal.WritesCounter.Add(ctx, 1)

return nil
}

Expand Down
1 change: 0 additions & 1 deletion internal/pool/pool.go
Expand Up @@ -188,7 +188,6 @@ func (p *ConnPool) dialConn(ctx context.Context, pooled bool) (*Conn, error) {
return nil, err
}

internal.NewConnectionsCounter.Add(ctx, 1)
cn := NewConn(netConn)
cn.pooled = pooled
return cn, nil
Expand Down

0 comments on commit 9434646

Please sign in to comment.