Skip to content

Http request headers as span attributes #12298

Answered by laurit
gpcmol asked this question in Q&A
Discussion options

You must be logged in to vote

You are using the flag that captures headers for a http client, but expecting to see the header added to a server span. Try with the server flag, see https://opentelemetry.io/docs/zero-code/java/agent/instrumentation/http/#capturing-http-request-and-response-headers

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@gpcmol
Comment options

@laurit
Comment options

Answer selected by gpcmol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants