Skip to content

Capturing HTTP headers in java agent #4733

Discussion options

You must be logged in to vote

Hey @stanosamek,
Try using -Dotel.instrumentation.common.experimental.capture-http-headers.server.request=x-business-user (or -Dotel.instrumentation.http.capture-headers.server.request=x-business-user if you decide to upgrade to agent 1.9.0) instead. This configuration option accepts a comma-separated list of header names -- not the span attribute names.

Replies: 1 comment 2 replies

Comment options

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

@stanosamek
Comment options

Answer selected by stanosamek
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