We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64bfb34 commit 103a07aCopy full SHA for 103a07a
extra/redisotel/metrics.go
@@ -175,7 +175,7 @@ func addMetricsHook(rdb *redis.Client, conf *config) error {
175
createTime: createTime,
176
useTime: useTime,
177
attrs: conf.attrs,
178
- attrsFunc: conf.attrsFunc,
+ attrsFunc: conf.attrsFunc,
179
})
180
return nil
181
}
@@ -184,7 +184,7 @@ type metricsHook struct {
184
createTime metric.Float64Histogram
185
useTime metric.Float64Histogram
186
attrs []attribute.KeyValue
187
- attrsFunc func(context.Context) []attribute.KeyValue
+ attrsFunc func(context.Context) []attribute.KeyValue
188
189
190
var _ redis.Hook = (*metricsHook)(nil)
0 commit comments