Upgrade etcd libraries to v3.5.13

Add otelgrpc.WithMessageEvents(otelgrpc.ReceivedEvents, otelgrpc.SentEvents) to tracing options due to https://github.com/open-telemetry/opentelemetry-go-contrib/pull/3964
This commit is contained in:
Marek Siarkowicz
2024-04-23 11:10:37 +02:00
parent 2806ffea9a
commit 3e5b03eb43
169 changed files with 3093 additions and 1465 deletions

View File

@@ -121,9 +121,9 @@ func (a *Attributes) String() string {
return sb.String()
}
func str(x any) string {
func str(x any) (s string) {
if v, ok := x.(fmt.Stringer); ok {
return v.String()
return fmt.Sprint(v)
} else if v, ok := x.(string); ok {
return v
}