-
Notifications
You must be signed in to change notification settings - Fork 149
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
Add new akka-http-2.13_10.1.8 instrumentation module #271
Conversation
compile("com.typesafe.akka:akka-stream_2.11:2.5.19") | ||
} | ||
passesOnly('com.typesafe.akka:akka-http_2.12:[2.4.5,)') { |
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 removed the Scala 2.10 verifier checks from the old instrumentation module because there are no 2.10 compiled versions >= 2.4.5
on akka-http-experimental or akka-http thus they were never being verified against.
I also updated the start range for Scala 2.11 and 2.12 because 10.0.0
is the earliest version available, not 2.4.5
.
@@ -4,7 +4,7 @@ sourceSets.test.scala.srcDir "src/test/java" | |||
sourceSets.test.java.srcDirs = [] | |||
|
|||
jar { | |||
manifest { attributes 'Implementation-Title': 'com.newrelic.instrumentation.akka-http-2.4.5' } | |||
manifest { attributes 'Implementation-Title': 'com.newrelic.instrumentation.akka-http-2.11_2.4.5' } |
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.
Renamed the module to make the Scala version clear.
AITs pass except for the AkkaTest because of the renamed module. This PR on the AITs has been tested locally and fixes that failure. |
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.
@jasonjkeller I believe you mentioned most of these files are the same as the previous instrumentation module and the big change was the scala version this module compiles against? Are there any instrumentation changes I should pay particular attention to?
I'm trying to focus my review on what you see as a significant change from the previous module.
@XiXiaPdx The new module is virtually identical to the previous with the exception of a few minor Scala API changes that don't change how the instrumentation works at all. |
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.
🚢
Resolves #260
The
akka-http-2.4.5
instrumentation wasn't applying on Scala 2.13. This PR adds a newsakka-http-2.13_10.1.8
instrumentation module to support Scala 2.13. It also renames the old module and cleans up the verifier configuration which was trying to verify against versions that don't exist.I tested with the akka http quickstart app and confirmed that the new module applies with Scala 2.13.
The customer who reported the issue was given a custom jar with the new module and confirmed that they once again see the transactions that disappeared after they upgraded to Scala 2.13.
Instrumentation modules loaded/skipped
Classes being weaved by new module: