ballerina-lang icon indicating copy to clipboard operation
ballerina-lang copied to clipboard

[Bug]: Parent-Child span inheritance has not been set properly for asynchronous function calls

Open NipunaMadhushan opened this issue 1 year ago • 0 comments

Description

When we use observability tracing for services which uses asynchronous function calls, the Parent-Child span inheritance has not been set properly. We can see two different traces for http request call and for asynchronous function call.

Screenshot 2024-05-09 at 15 01 03 Screenshot 2024-05-09 at 15 01 37

Steps to Reproduce

Use the ballerina observability example in here.

Affected Version(s)

No response

OS, DB, other environment details and versions

No response

Related area

-> Observability

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

NipunaMadhushan avatar May 09 '24 09:05 NipunaMadhushan