Commit Graph

807 Commits

Author SHA1 Message Date
Andrew Kent ef3ba8be60 Move dd-java-agent-perftest to dd-java-agent subproject. 2018-01-02 12:17:18 -08:00
Andrew Kent ef946d5ba9 Perf test script and instructions. 2018-01-02 09:13:42 -08:00
Andrew Kent 599211e750 Simple jetty perf test 2018-01-02 09:13:42 -08:00
Andrew Kent e65132e462 Perf Test Project 2018-01-02 09:13:42 -08:00
Andrew Kent cd0cc3bce2
Merge pull request #177 from DataDog/ark/agent_test_framework
Instrumentation Test Framework
2018-01-02 09:11:07 -08:00
Andrew Kent 1a80e4457d Remove unused listener option 2017-12-28 09:46:58 -08:00
Andrew Kent d315f43dad Remove AgentTestRunner custom classloader.
BytebuddyAgent install already handles class retransformation, make
the custom classloader redundant.
2017-12-28 09:46:58 -08:00
Andrew Kent 1c08933bc7 AgentTestRunner doc 2017-12-28 09:46:58 -08:00
Andrew Kent 9437c8c2db Remove ExpensiveTest 2017-12-28 09:46:58 -08:00
Andrew Kent d0658085bf Convert Cassandra IntegrationTest to AgentTestRunner+spock 2017-12-28 09:46:58 -08:00
Andrew Kent ca574071ff New AgentTestRunner to auto-instrument spock tests 2017-12-28 09:46:58 -08:00
Andrew Kent 9d79531f59 Move bytebuddy agent setup into tooling 2017-12-28 09:46:08 -08:00
Andrew Kent 99442cdca7 Agent Testing Project 2017-12-28 09:46:08 -08:00
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