1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-31 05:04:23 +03:00

Remove OpenTelemetry metrics for now (#1805)

This commit is contained in:
Vladimir Mihailenco
2021-06-30 13:40:23 +03:00
committed by GitHub
parent b7d23d446c
commit 27e2efb0af
5 changed files with 2 additions and 80 deletions

View File

@ -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