Fix span naming with multiple requests (#227)
This commit is contained in:
@@ -157,7 +157,7 @@ open class NativeCall(
|
||||
): Context {
|
||||
if (requestCount > 1) {
|
||||
val span = tracer.nextSpan(requestSpan)
|
||||
.name(requestId)
|
||||
.name("emerald.blockchain/nativecall")
|
||||
.tag(SPAN_REQUEST_ID, requestId)
|
||||
.start()
|
||||
return ReactorSleuth.putSpanInScope(tracer, ctx, span)
|
||||
|
||||
Reference in New Issue
Block a user