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
In the OpenTelemetry Demo we have a Rust service using reqwest-middleware.
We have noticed that the Context Propagation is not working properly when using reqwest to call another service.
The issue is detailed in here: open-telemetry/opentelemetry-demo#1318
But to add a full context to this issue, here is where we are using it:
When shippingservice(Rust) calls quoteservice(PHP) the parent_id sent is not from the caller, but from the caller's parent.
The trace is currenly looking like this:
But it should be something like this:
checkoutservice oteldemo.ShippingService/GetQuote
|--> shippingservice oteldemo.ShippingService/GetQuote
|--> shippingservice POST
|--> quoteservice POST /getquote
|--> quoteservice {closure}
|--> quoteservice calculate-quote
The text was updated successfully, but these errors were encountered:
If you switch to the correct feature everything should work as expected.
You shouldn't be setting the context yourself, the middleware does it for you (if configured correctly).
In the OpenTelemetry Demo we have a Rust service using
reqwest-middleware
.We have noticed that the Context Propagation is not working properly when using
reqwest
to call another service.The issue is detailed in here: open-telemetry/opentelemetry-demo#1318
But to add a full context to this issue, here is where we are using it:
When
shippingservice
(Rust) callsquoteservice
(PHP) theparent_id
sent is not from the caller, but from the caller's parent.The trace is currenly looking like this:
But it should be something like this:
The text was updated successfully, but these errors were encountered: