add missing tag case messaging.operation
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
parent
c2f6dfd267
commit
123023be06
@ -94,7 +94,7 @@ func (os *otSpan) Finish(opts ...options.Option) {
|
|||||||
os.span.SetTag("x-request-id", os.opts.Labels[idx+1])
|
os.span.SetTag("x-request-id", os.opts.Labels[idx+1])
|
||||||
case "rpc.call", "rpc.call_type", "rpc.flavor", "rpc.service", "rpc.method",
|
case "rpc.call", "rpc.call_type", "rpc.flavor", "rpc.service", "rpc.method",
|
||||||
"sdk.database", "db.statement", "db.args", "db.query", "db.method",
|
"sdk.database", "db.statement", "db.args", "db.query", "db.method",
|
||||||
"messaging.destination.name", "messaging.source.name":
|
"messaging.destination.name", "messaging.source.name", "messaging.operation":
|
||||||
os.span.SetTag(fmt.Sprintf("%v", os.opts.Labels[idx]), os.opts.Labels[idx+1])
|
os.span.SetTag(fmt.Sprintf("%v", os.opts.Labels[idx]), os.opts.Labels[idx+1])
|
||||||
default:
|
default:
|
||||||
os.span.LogKV(os.opts.Labels[idx], os.opts.Labels[idx+1])
|
os.span.LogKV(os.opts.Labels[idx], os.opts.Labels[idx+1])
|
||||||
|
Loading…
Reference in New Issue
Block a user