You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an example http service that has implemented observable and jaeger modules using otel collector, and is exposed by traefik and wso2 apim 4.4.0. Ballerina service has been exposed as an endpoint in an API exposed through APIM.
I can see the trace traefik -> apim as child, but ballerina is in a different trace.
Ballerina service should appear as a child of traefik and apim.
Seems like the headers provided from API Manager are not been processed by Ballerina service. Therefore, Spans related to Ballerina service has been nested under a separate trace.
Ballerina use OTLP Protobuf format via 4317 port to publish span data. These format differences may cause to identify headers related to parent-child relation between spans of APIM and Ballerina service.
Found the issue. Issue lies with the propagation where APIM uses JaegerPropagator. Ballerina previously use JaegerPropagator for jaeger extension (upto 0.5.2 version) and changed to W3CContextPropagator recently. This caused this issue.
With Jaeger version 0.5.2, This works fine. As a workaround, you can use the jaeger version as 0.5.2 and lock the dependencies by running bal run --sticky.
Description
There is an example http service that has implemented observable and jaeger modules using otel collector, and is exposed by traefik and wso2 apim 4.4.0. Ballerina service has been exposed as an endpoint in an API exposed through APIM.
I can see the trace traefik -> apim as child, but ballerina is in a different trace.
Ballerina service should appear as a child of traefik and apim.
The configurations are as follows.
Config.toml -
deployment.toml -
Steps to Reproduce
No response
Affected Version(s)
Ballerina version - 2201.10.3
OS, DB, other environment details and versions
APIM version - 4.4.0
Related area
-> Observability
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response
The text was updated successfully, but these errors were encountered: