HELP: additional attributes based on HttpServletRequest headers #4224
-
|
I have a instrumentation to add the span attributes based on HttpServletRequest headers. It works fine with opentelemetry-java & opentelemetry-java-agent 1.5.x. When try upgrade to 1.6.0, the additional attributes are not available :( Here is the helper class to add additional attributes: Since I am not sure what I should update to use opentelemetry-java & opentelemetry-java-agent 1.6.0. Can someone help? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
Can you try the following code? |
Beta Was this translation helpful? Give feedback.
Can you try the following code?