-
Notifications
You must be signed in to change notification settings - Fork 867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Capture messaging header value as span attribute #6454
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Map<String, String> testConfig = new HashMap<>(); | ||
testConfig.put( | ||
"otel.instrumentation.messaging.experimental.capture-headers", | ||
"test-message-header, test-message-int-header, test_message_header, test_message_int_header"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe a brief comment why both -
and _
variants?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment added, basically it is because in jms2 tests hornetq complained that test-message-header
is not a valid jms property name
* Capture messaging header value as span attribute * add comment
* Capture messaging header value as span attribute * add comment
* Capture messaging header value as span attribute * add comment
Resolves #6293
Resolves #5238
Implements capturing messaging header value as span attribute similarly to how HTTP headers are captured.