mirror of
https://github.com/redis/go-redis.git
synced 2025-07-29 17:41:15 +03:00
Remove OpenTelemetry metrics for now (#1805)
This commit is contained in:
committed by
GitHub
parent
b7d23d446c
commit
27e2efb0af
@ -7,7 +7,6 @@ import (
|
||||
"sync/atomic"
|
||||
"time"
|
||||
|
||||
"github.com/go-redis/redis/v8/internal"
|
||||
"github.com/go-redis/redis/v8/internal/proto"
|
||||
)
|
||||
|
||||
@ -86,13 +85,7 @@ func (cn *Conn) WithWriter(
|
||||
return err
|
||||
}
|
||||
|
||||
if err := cn.bw.Flush(); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
internal.WritesCounter.Add(ctx, 1)
|
||||
|
||||
return nil
|
||||
return cn.bw.Flush()
|
||||
}
|
||||
|
||||
func (cn *Conn) Close() error {
|
||||
|
Reference in New Issue
Block a user