Commit Graph

759 Commits

Author SHA1 Message Date
Andrew Kent 4d5c06b0e5 Fix codenarc 2017-12-11 08:17:59 -08:00
Andrew Kent 9d933d2109 Skip c3p0 proxy classes. 2017-12-11 08:17:59 -08:00
Andrew Kent 95550ac9d6 Save connection info after connection construction. 2017-12-11 08:17:59 -08:00
Andrew Kent 28bc1e703e
Merge pull request #172 from DataDog/tyler/benchmark
Improve benchmarks to highlight more interesting differences
2017-12-10 08:20:37 -08:00
Andrew Kent 9fbe70228f
Merge pull request #171 from DataDog/ark/tracer_init
init global tracer in premain
2017-12-10 08:09:04 -08:00
Tyler Benson e6895e4f6c Improve benchmark and caching optimizations. 2017-12-08 19:17:59 -08:00
Andrew Kent b231306f57 init global tracer in premain 2017-12-08 16:56:43 -08:00
Andrew Kent eac766ca80
Merge pull request #170 from DataDog/ark/fix_idea
Fix idea compile for mongo modules
2017-12-08 14:24:52 -08:00
Andrew Kent 394f36d700 Fix idea compile for mongo modules 2017-12-08 14:15:36 -08:00
Tyler Benson 003b7d1caf Extract test classes for benchmark testing. 2017-12-08 12:58:46 -08:00
Andrew Kent ae2b85ea51
Merge pull request #168 from DataDog/ark/spring-boot-classloaders
Enhance Support for spring-boot classloader
2017-12-08 09:48:13 -08:00
Andrew Kent 42832e77f5 Add agent's classloader to default instrumentation location strategy
The transformer needs the agent's classloader to resolve advice
classes at transform time. Also stop using reflection to register classloads.
2017-12-08 09:40:14 -08:00
Andrew Kent 6a646009fa Test system class sibling classloader
Test cases where the classloader of the instrumented class cannot
resolve agent advice classes.
2017-12-08 09:34:16 -08:00
Andrew Kent 34791bbdbf Move common instrumentation advice settings into DDAdvice 2017-12-08 09:34:16 -08:00
Andrew Kent 6fa779aa8f
Merge pull request #167 from DataDog/tyler/remove-byteman
Remove Byteman now that instrumentation is migrated
2017-12-08 09:33:00 -08:00
Tyler Benson 6f985c15bf Remove Byteman now that instrumentation is migrated
At some point, we should refactor the managers since this leaves them in an awkward state.
2017-12-07 13:11:26 -08:00
Tyler Benson 4506cadef4
Merge pull request #166 from DataDog/tyler/okhttp-bytebuddy
Move OkHttp instrumentation to byte buddy
2017-12-07 12:19:27 -08:00
Tyler Benson 2e6ff44976 misc cleanup 2017-12-07 12:06:58 -08:00
Tyler Benson d933a4049a Move OkHttp instrumentation to byte buddy 2017-12-06 18:07:17 -08:00
Tyler Benson 50c8c0268a
Merge pull request #162 from DataDog/tyler/upgrade-gradle
Upgrade gradle version to latest.
2017-12-06 08:05:53 -08:00
Tyler Benson e9f6a9ee1b
Merge pull request #164 from DataDog/tyler/fix-threadpool-names
Name agent writer threadpools and set to daemon
2017-12-06 08:05:18 -08:00
Tyler Benson f807a5da18
Merge pull request #163 from DataDog/tyler/jmh-retransform
Add JMH Benchmarks
2017-12-06 08:04:07 -08:00
Andrew Kent 69c3117110
Merge pull request #161 from DataDog/ark/apache_http_client_bytebuddy
apache httpclient bytebuddy
2017-12-05 17:19:20 -08:00
Tyler Benson dc89cd174e Name agent writer threadpools and set to daemon
This allows a clean shutdown, instead of keeping the vm running.
2017-12-05 16:25:47 -08:00
Tyler Benson 78210d6e42 Add additional cases for benchmarking. 2017-12-05 16:10:29 -08:00
Tyler Benson fd8f6a940e Exclude draft version. 2017-12-04 18:14:42 -08:00
Tyler Benson 2a3ea4aab6 Upgrade gradle version to latest. 2017-12-04 17:33:50 -08:00
Tyler Benson caf3953360 Add JMH Benchmarks 2017-12-04 17:30:54 -08:00
Andrew Kent 4ebadf19de Use ratpack to implemented embedded http test util 2017-12-04 13:13:25 -08:00
Andrew Kent a7bfd1c4f5 Use CodeSource to test shadow package renames.
Forcing guava to version 18 prevented running the embedded ratpack
http server. Using codesource for the shadow test has the same effect
and doesn't require forcing a version of guava.
2017-12-04 11:42:26 -08:00
Andrew Kent cbd1d3c794 Convert Junit tests to Spock 2017-12-01 16:38:57 -08:00
Andrew Kent 6fa303058f ApacheHttpClient bytebuddy instrumentation and tests. 2017-12-01 10:54:32 -08:00
Andrew Kent f48b793cb4 TestHttpServer for http client testing. 2017-12-01 10:34:40 -08:00
Andrew Kent a52e8adece Begin 0.2.11 2017-12-01 08:54:49 -08:00
Andrew Kent 2f816420c7 Version 0.2.10 2017-12-01 08:29:14 -08:00
Andrew Kent d95d11ee5e
Merge pull request #157 from DataDog/ark/cassandra_bytebuddy
cassandra bytebuddy
2017-11-29 09:18:45 -08:00
Andrew Kent b6d9c13d0c Make cassandra matching stricter 2017-11-29 09:11:31 -08:00
Tyler Benson 3ea7ad73ed Fix version scan plugin
Now you can run `./gradlew :dd-java-agent:integrations:datastax-cassandra-3.2::scanVersionsReport -PshowClasses` to show you the classes you can use for that version range.
2017-11-28 18:34:56 -08:00
Andrew Kent 7298b0a31a Convert datastax cassandra instrumentation to bytebuddy 2017-11-28 17:01:04 -08:00
Andrew Kent 54a830ba9e Enhance Cassandra trace testing. 2017-11-28 17:01:04 -08:00
Andrew Kent 37f70dba6b
Merge pull request #159 from DataDog/ark/fix_ci
Fix CI Memory and HttpClient Test
2017-11-28 16:58:53 -08:00
Andrew Kent bea17a436a Separate CI building and testing steps, and increase max memory.
Gradle was using too much memory when testing and building in the same
step, causing CI to kill the process forcefully. Separating them out
resolves the problem.
2017-11-28 16:18:02 -08:00
Andrew Kent 637e27e88a Explicitly inject on httpclientbuilder's classloader 2017-11-28 14:27:46 -08:00
Andrew Kent e7869cd7fa
Merge pull request #154 from DataDog/ark/mongo_bytebuddy
Mongo Bytebuddy and Mongo Async
2017-11-27 17:04:54 -08:00
Andrew Kent 47b1eec6da Mongo Async Instrumentation and embedded mongo tests. 2017-11-27 09:18:49 -08:00
Andrew Kent 86a76ec588 Convert Mongo instrumentation to ByteBuddy 2017-11-27 09:18:49 -08:00
Andrew Kent b4ba6d8955
Merge pull request #156 from DataDog/tyler/jms
Migrate JMS to Byte Buddy and add JMS 1 support
2017-11-27 08:53:38 -08:00
Andrew Kent 8f6ff1f695
Merge pull request #158 from DataDog/ark/error_doc
Add error reporting documentation.
2017-11-27 08:34:09 -08:00
Andrew Kent 42e08a4a04 Add error reporting documentation. 2017-11-22 13:23:44 -08:00
Tyler Benson 9ba647a2ac Add instrumentation for MessageListener 2017-11-17 16:02:09 -08:00