OpenLiberty / open-liberty

Open Liberty is a highly composable, fast to start, dynamic application server runtime environment
https://openliberty.io
Eclipse Public License 2.0
1.15k stars 589 forks source link

LG-288: Optimize OL distributed trace propagation for Istio environments #12605

Open donbourne opened 4 years ago

donbourne commented 4 years ago

Describe the high level feature, including any external spec links.

per https://istio.io/latest/docs/tasks/observability/distributed-tracing/overview/ :

Trace context propagation Although Istio proxies are able to automatically send spans, they need some hints to tie together the entire trace. Applications need to propagate the appropriate HTTP headers so that when the proxies send span information, the spans can be correlated correctly into a single trace.

To do this, an application needs to collect and propagate the following headers from the incoming request to any outgoing requests:

x-request-id x-b3-traceid x-b3-spanid x-b3-parentspanid x-b3-sampled x-b3-flags x-ot-span-context Additionally, tracing integrations based on OpenCensus (e.g. Stackdriver) propagate the following headers:

x-cloud-trace-context traceparent grpc-trace-bin

When ready, add links to the Upcoming Feature Overview document and Feature Test Summary issue:

Instructions:

Design

Before Development Starts or 8 weeks before Onboarding

Legal

3 weeks before Onboarding

Translation

3 weeks before Onboarding

Feature Complete

2 weeks before Onboarding

Focal Point Approvals

2 to 1 week before Onboarding

You MUST have the Design Approved or No Design Approved label before requesting focal point approvals.

All features (both "Design Approved" and "No Design Approved")

"Design Approved" features

Ready for GA

1 week before Onboarding

Other deliverbles

Emily-Jiang commented 4 years ago

MP OpenTracing automatically does this, which is one of the major features provided by MP Open Tracing. When MP OpenTelemetry is done, I assume this is the required feature.

donbourne commented 3 years ago

Pause this until we adopt OpenTelemetry