-
Hi All, There are two micro services.
First micro service sending span-id and trace-id as header parameters. Is it possible to make parent span using those parameters In side the second micro service or any possible solution? This is how registering opentelemetry in second micro service. `SdkTracerProvider sdkTracerProvider = SdkTracerProvider.builder().build();
Using following opentelemetry dependency.
Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
hi @pdkgamage!
In particular, this sounds like it might be If it's not a standard trace propagation format already supported by the OpenTelemetry Java project, you may need to write your own TextMapPropagator for your use case. |
Beta Was this translation helpful? Give feedback.
hi @pdkgamage!
Check out https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/autoconfigure/README.md#propagator
In particular, this sounds like it might be
ottrace
format?If it's not a standard trace propagation format already supported by the OpenTelemetry Java project, you may need to write your own TextMapPropagator for your use case.