File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -215,8 +215,8 @@ func (mh *metricsHook) ProcessHook(hook redis.ProcessHook) redis.ProcessHook {
215
215
dur := time .Since (start )
216
216
217
217
attrs := make ([]attribute.KeyValue , 0 , len (mh .attrs )+ 2 )
218
- attrs = append (attrs , mh .attrs ... )
219
218
attrs = append (attrs , mh .attrsFunc (ctx )... )
219
+ attrs = append (attrs , mh .attrs ... )
220
220
attrs = append (attrs , attribute .String ("type" , "command" ))
221
221
attrs = append (attrs , statusAttr (err ))
222
222
@@ -237,8 +237,8 @@ func (mh *metricsHook) ProcessPipelineHook(
237
237
dur := time .Since (start )
238
238
239
239
attrs := make ([]attribute.KeyValue , 0 , len (mh .attrs )+ 2 )
240
- attrs = append (attrs , mh .attrs ... )
241
240
attrs = append (attrs , mh .attrsFunc (ctx )... )
241
+ attrs = append (attrs , mh .attrs ... )
242
242
attrs = append (attrs , attribute .String ("type" , "pipeline" ))
243
243
attrs = append (attrs , statusAttr (err ))
244
244
You can’t perform that action at this time.
0 commit comments