-
Notifications
You must be signed in to change notification settings - Fork 318
Migrate JMS to Byte Buddy and add JMS 1 support #156
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
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.
Check out this cool way to test instrumentation in pieces. Using this, I'm able to write "integration" tests for each integration separately without needing to run the agent at startup.
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.
👍 Nice! I think we'll want to formalize this into an instrumentation test framework in the near future.
6640c3d to
a563c93
Compare
This does not yet include instrumentation for MessageListener. I think there is actually no difference between the instrumentation so we should combine them. I also added TEXT_MAP as a format that maps to the HTTP Codec. There is some remapping inside the instrumentation to remove dashes before setting as a property. This should also be changed when an official format is defined. This also currently has a problem with Spring Boot applications as the JMS Util references classes not on the system classpath (it needs to be injected into the child classpath)
a563c93 to
871ce37
Compare
| } | ||
| } | ||
|
|
||
| public void waitForTraces(final int number) throws InterruptedException { |
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.
👍 Nice!
|
Looks good! CI failure seems unrelated (Cassandra integration test timeout). I'm going to go for green anyways then I think we can |
realark
left a comment
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.
I'm okay with merging as long as we're confident the CI failures are unrelated. I can't get a clean run and I don't find the build output easy to parse.
Merging changes from the upstream repo
This does not yet include instrumentation for MessageListener.
I think there is actually no difference between the instrumentation so we should combine them.
I also added TEXT_MAP as a format that maps to the HTTP Codec. There is some remapping inside the instrumentation to remove dashes before setting as a property. This should also be changed when an official format is defined.
In order to resolve an issue with classes needing to be injected, I moved the "helper classes" over to the helper jar.