issues
search
redis
/
rueidis
A fast Golang Redis client that supports Client Side Caching, Auto Pipelining, Generics OM, RedisJSON, RedisBloom, RediSearch, etc.
Apache License 2.0
2.46k
stars
158
forks
source link
OpenTelemetry client optimizations
#614
Closed
ash2k
closed
3 months ago
ash2k
commented
3 months ago
Please see individual commits.
See also:
Why
metric.WithAttributeSet()
:
https://github.com/open-telemetry/opentelemetry-go/blob/metric/v1.28.0/metric/instrument.go#L349-L368
.
Why reuse those slices:
https://go.dev/ref/spec#Passing_arguments_to_..._parameters
Please see individual commits.
See also:
metric.WithAttributeSet()
: https://github.com/open-telemetry/opentelemetry-go/blob/metric/v1.28.0/metric/instrument.go#L349-L368.