A client request which sends tracestate
header to JAX-RS API does not result in tracestate
being propagated with TextMapPropagator
#30271
Labels
in:MicroProfile/Telemetry
Needs member attention
release bug
This bug is present in a released version of Open Liberty
Describe the bug
A clear and concise description of what the bug is.
If there is a stack trace, please include the FULL stack trace (without any
[internal classes]
lines in it). To find the full stack trace, you may need to check in$WLP_OUTPUT_DIR/messages.log
Related to issue #30260
Calling a JAX-RS API with headers
baggage=userId=alice,serverNode=DF%2028,isProduction=false
andtracestate=rojo=00f067aa0ba902b7,congo=t61rcWkgMzE
(doc examples), I can see the headers on the inbound request to the server, but whenTextMapPropagator
is called, onlybaggage
and the createdtraceparent
are provided.Some trace entries in server to support this:
The Java code in use within the JAX-RS API:
If it is of use, we create our spans using:
Steps to Reproduce
Steps to reproduce the bug
TextMapPropagator
to call.inject(...)
.tracestate
is not called as part ofinject
as expected.Expected behavior
A clear and concise description of what you expected to happen.
When a client request includes
tracestate
header, this should be set in the context for spansDiagnostic information:
$WLP_OUTPUT_DIR/messages.log
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: