-
Notifications
You must be signed in to change notification settings - Fork 23
test header capture #895
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
base: main
Are you sure you want to change the base?
test header capture #895
Conversation
| import java.util.List; | ||
|
|
||
| public interface ElasticAttributes { | ||
| AttributeKey<Long> SELF_TIME = AttributeKey.longKey("elastic.span.self_time"); |
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.
[for reviewer] no longer used, thus we can remove it.
| @@ -1,48 +0,0 @@ | |||
| ### Breakdown metrics | |||
|
|
|||
| Status: feature has been disabled and code is only kept for future reference. | |||
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.
[for reviewer] not relevant anymore, if the feature gets re-implemented in the future we'll re-implement it from scratch.
| .start(); | ||
| process.waitFor(5, TimeUnit.SECONDS); | ||
| return process.exitValue() == 0; | ||
| boolean processExit = process.waitFor(5, TimeUnit.SECONDS); |
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.
[for reviewer] fixing minor bug when trying to debug the remote app running in docker.
|
|
||
| @RestController | ||
| @RequestMapping("/messages") | ||
| public class MessagingController { |
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.
[for reviewer] adding an HTTP controller to receive/send messages with JMS API.
| @@ -0,0 +1,2 @@ | |||
| # use an in-process activemq artemis instance | |||
| spring.artemis.mode=embedded | |||
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.
[for reviewer] provides an in-process ActiveMQ Artemis instance, the implementation is provided by the artemis-jms-server dependency.
Fixes #879 by adding explicit test of the upstream implementation.
otel.instrumentation.messaging.experimental.capture-headersconfiguration and relatedmessaging.header.span attribute prefix is used and tested in the following messaging instrumentation, so we can assume it's supported:All the instrumentations marked with * are the ones that are originally supported for the classic agent.