Commit Graph

844 Commits

Author SHA1 Message Date
Andrew Kent faa7dae914 Add bytebuddy agent to dependencies 2017-12-28 09:46:08 -08:00
Andrew Kent 981e660b5e Only add integration dependencies when building agent shadowJar 2017-12-28 09:46:08 -08:00
Andrew Kent f546dd4188
Merge pull request #179 from DataDog/tyler/filter-errors
Change point where servlet instrumentation is applied
2017-12-28 09:45:32 -08:00
Andrew Kent 5701601ad9 Fix potential flicker for jms2 test 2017-12-27 18:01:11 -08:00
Tyler Benson eca6d89591 Fix flickering test. 2017-12-26 12:39:09 -08:00
Tyler Benson 5dda6844a5 Change point where servlet instrumentation is applied
This new point will capture responses returned by filters, not just the servlet target.
2017-12-26 12:27:39 -08:00
Tyler Benson 6b127e9c47
Merge pull request #178 from DataDog/tyler/config
Allow config to pull from env vars and sys props
2017-12-22 07:51:48 -08:00
Tyler Benson ff1a91214a Add ignores for soon to be removed code. 2017-12-22 07:39:25 -08:00
Tyler Benson e17660203f Missed one…
Also don’t need DDTracerFactoryTest anymore…
2017-12-21 16:47:41 -08:00
Tyler Benson 02460060bc Misc cleanup
Remove out of date “async-tracing” example since it’s more about byteman and no longer relevant.

Minor changes to improve the code test coverage…
2017-12-21 16:31:03 -08:00
Tyler Benson 4822c19c5d Remove legacy config references. 2017-12-21 16:28:18 -08:00
Tyler Benson 0fb057dbcc Allow config to pull from env vars and sys props 2017-12-21 15:31:14 -08:00
Andrew Kent d036512318
Merge pull request #176 from DataDog/ark/save_ci_tests
Link instrumentation test reports to dd-java-agent/build/reports/
2017-12-21 10:51:25 -08:00
Andrew Kent bf09923832 Put all tests, artifacts, and reports in root build folder
Use a script to move all important ci artifacts to a common root
folder to easily save important project builds/reports.
2017-12-20 15:28:49 -08:00
Tyler Benson 101a7882f9
Merge pull request #165 from DataDog/tyler/circle-size
Try using larger instances.
2017-12-20 08:50:07 -08:00
Tyler Benson fdf3ad28e5 Try using larger instances. 2017-12-19 17:26:02 -08:00
Andrew Kent 5acd650efe
Merge pull request #174 from DataDog/ark/instrumentation_modules
Move Helper Classes into their specific instrumentation modules
2017-12-19 17:24:19 -08:00
Tyler Benson 6509ed32b5
Merge pull request #175 from DataDog/tyler/fix-jersey
Fix jersey servlet instrumentation which overrides method
2017-12-19 17:22:12 -08:00
Tyler Benson d6056a3c27 Fix jersey servlet instrumentation which overrides method
Jersey doesn’t seem to delegate to the original method on HttpServlet, which causes those methods to not be traced properly.

This is impacting dropwizard applications which uses Jersey with embedded Jetty.
2017-12-19 16:53:58 -08:00
Andrew Kent faf63bac9d Don't load classes on agent classloader during injection 2017-12-19 16:52:10 -08:00
Andrew Kent 75edd2bee4 Initialize AgentVersion classes in global tracer init 2017-12-19 16:00:03 -08:00
Andrew Kent f5ecd47379 Remove dead code 2017-12-19 09:06:38 -08:00
Andrew Kent e9b6f5278d Initialize GlobalTracer in TracingAgent 2017-12-19 09:06:38 -08:00
Andrew Kent 069f481884 Don't inject helpers into the same classloader twice 2017-12-18 16:44:12 -08:00
Andrew Kent 887a864118 Automatically pull integrations into the agent 2017-12-18 16:44:12 -08:00
Andrew Kent f68406113a Remove helpers from agent 2017-12-18 16:44:12 -08:00
Andrew Kent 0abf3f342d Use HelperInjector to include instrumentation helper classes.
Move instrumentation helpers out of helpers subproject and into the
appropriate instrumentation module.
2017-12-18 16:44:12 -08:00
Andrew Kent 876ea794e9 Helper Injector Transformer 2017-12-14 18:40:40 -08:00
Andrew Kent 5a57623fb6 Helper Injection test 2017-12-14 18:40:40 -08:00
Andrew Kent b5c2a3af63 reuse class file locator for DDAdvice 2017-12-14 18:40:40 -08:00
Andrew Kent 7f643ab680 Move jar utils to TestUtils 2017-12-14 18:40:40 -08:00
Andrew Kent 922b3012e6 Support for eclipse + buildship (#173) 2017-12-14 10:20:27 +01:00
Andrew Kent ca29390591 Begin 0.2.12 2017-12-11 10:04:07 -08:00
Andrew Kent f7b2478c72 Version 0.2.11 2017-12-11 09:09:21 -08:00
Andrew Kent 5ddcad3908
Merge pull request #169 from DataDog/ark/c3p0
Instrument Connection Constructor to get connection info
2017-12-11 08:59:20 -08:00
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