1
0
mirror of https://github.com/redis/go-redis.git synced 2025-10-23 08:08:28 +03:00
Files
go-redis/extra
Warnar Boekkooi b11f928dea chore(redisotel): use metric.WithAttributeSet to avoid copy (#3552)
In order to improve performance replace `WithAttributes` with `WithAttributeSet`.
This avoids the slice allocation and copy that is done in `WithAttributes`.

For more information see https://github.com/open-telemetry/opentelemetry-go/blob/v1.38.0/metric/instrument.go#L357-L376
2025-10-21 16:15:24 +03:00
..