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 67824eb commit 7b8b3a6Copy full SHA for 7b8b3a6
extra/redisotel/metrics.go
@@ -216,6 +216,7 @@ func (mh *metricsHook) ProcessHook(hook redis.ProcessHook) redis.ProcessHook {
216
attrs = append(attrs, mh.attrs...)
217
attrs = append(attrs, attribute.String("type", "command"))
218
attrs = append(attrs, statusAttr(err))
219
+ attrs = append(attrs, attribute.String("cmd", cmd.FullName()))
220
221
mh.useTime.Record(ctx, milliseconds(dur), metric.WithAttributes(attrs...))
222
0 commit comments