Commit Graph

99 Commits

Author SHA1 Message Date
Tyler Benson cacba43435 Use byte buddy for @Trace instead of byteman. 2017-10-26 14:45:16 -07:00
Tyler Benson 25029b4109 Add integration tests for in-memory jdbc drivers. 2017-10-25 10:37:37 -07:00
Tyler Benson 526d7def3b Hardcode tag names, improve formatting 2017-10-13 16:32:13 +02:00
Tyler Benson f2d1f0c209 Capture and report errors and stacktraces 2017-10-13 16:32:13 +02:00
Tyler Benson 2775dd988e Hardcode additional tag names 2017-10-13 16:03:19 +02:00
Tyler Benson cffde51b9e Add funky locking to ensure consistent execution for jetty test. 2017-09-21 13:47:28 -07:00
Tyler Benson fb133c8905 Update servlet operation name. 2017-09-21 08:12:44 -07:00
Tyler Benson 30721d00dc Replace tomcat/jetty specific integ with generic servlet integ.
This should also work with things like Weblogic and Websphere with the main requirement being Servlet 2.3 or above compatibility.
2017-09-20 16:39:43 -07:00
Tyler Benson 9c39bb64ae Fix aws version in readme, add finals and reformatting 2017-09-18 10:49:08 -07:00
Tyler Benson 4e106679a7 Move packages around and rename dd-trace inside agent
This avoids conflicts if the user already has dd-trace included in their app.
2017-09-11 15:00:00 -07:00
Tyler Benson 62c167de16 Inject helper classes into application’s classloader
This is important for things like Spring Boot’s executable jar classloader which keeps all the jars individually rather than on the system classloader.
2017-09-06 11:08:28 -07:00
Tyler Benson 2d3a12f3f1 Speed up integ tests by reducing scope for annotation scan. 2017-09-05 16:35:32 -07:00
Tyler Benson db2758af19 Merge branch 'master' into tyler/versions
# Conflicts:
#	dd-java-agent/src/main/java/com/datadoghq/trace/agent/InstrumentationChecker.java
2017-08-23 09:08:40 -07:00
Tyler Benson 0debc82d74 Remove dd-java-agent as a dependency for the integ test
This better simulates the classpath for an application where the agent is only added via the commandline.
2017-08-23 08:35:50 -07:00
Tyler Benson 55edba486a Order rules alphabetically and ensure matches. 2017-08-22 17:25:45 -07:00
Tyler Benson 5dff2f1249 Rename google and byteman dependencies
But exclude the ones that cause the tests to fail.
Also add a test to verify the correct version of guava is loaded with the agent running.
2017-08-08 12:29:14 -07:00
Emanuele Palazzetti c5c750bd49
[elasticsearch] remove auto instrumentation; will be added later 2017-08-02 17:42:01 +02:00
Tyler Benson ab791179ad Generate a random trace ID instead of copying the span ID 2017-07-31 11:45:56 -07:00
Guillaume Polaert 864db966f1 Close span when exception exit (#66) 2017-07-27 21:09:25 +02:00
Tyler Benson 8420855deb Apply some additional inspections and quick-fixs 2017-07-19 08:09:19 -07:00
Tyler Benson e8dbc34bea Apply consistent formatting to other files 2017-07-19 08:09:19 -07:00
Tyler Benson 1edf4af213 Fix formatting 2017-07-17 12:01:36 -07:00
Tyler Benson 24bcb929c4 Merge branch 'master' into gpolaert/es 2017-07-17 11:28:09 -07:00
Guillaume Polaert b5051ae7c0 Disabling ES because the contribution throws a NPE. Waiting for the 0.0.3 release of the ES contrib (it's fixed) 2017-07-13 12:09:21 +02:00
Guillaume Polaert 4edff21599 Add test and support for ES 2017-07-13 11:18:19 +02:00
Tyler Benson 232801ab62 Another pass on improving the docs 2017-07-12 14:30:08 -07:00
Tyler Benson 2d89ee0d54 Apply automatic formatting
via `./gradlew googleJavaFormat`
2017-07-12 07:47:19 -07:00
Guillaume Polaert 98a0c0d38b Typo 2017-07-07 12:15:19 +02:00
Guillaume Polaert f9b15a8d4c Fixing failling tests on CircleCi 2017-07-07 12:12:03 +02:00
Tyler Benson 5014eb4f8f Ignore failing test 2017-07-06 16:14:56 -07:00
Guillaume Polaert 399c4cab80 Merge branch 'master' into gpolaert/new-shading 2017-07-04 10:15:51 +02:00
Tyler Benson bf15a139d5 Remove tagsKV from @Trace annotation 2017-07-03 16:14:35 -07:00
Guillaume Polaert f7b34d7deb Path has been changed. Fixing 2017-07-03 10:34:34 -07:00
Tyler Benson 4de69c36b8 Review Fixes
Fix package names.
Revert oddness in pom file.
2017-06-28 11:14:32 -04:00
Tyler Benson cee31b4067 Rename packages for consistency 2017-06-27 16:34:32 -04:00
Guillaume Polaert b824be1295 Adding JMS version + fix some previous artifacts 2017-06-20 18:24:47 -04:00
Guillaume Polaert 7f48045da9 Refactoring DDAgentTracingHelper, better log, better catch ... 2017-06-15 17:08:56 +02:00
Guillaume Polaert e5887e24dc Fixing ES 2017-06-15 14:30:16 +02:00
Guillaume Polaert 305e7aeefb still issues on ES and AWS 2017-06-14 17:36:46 +02:00
Guillaume Polaert 41f6e66b2e first review for @renaud 2017-06-14 15:01:33 +02:00
Guillaume Polaert 974955a29c Skipping tests for the release due to conflict 2017-06-13 17:00:28 +02:00
Guillaume Polaert de53b007d6 Help some lost souls 2017-06-13 14:23:51 +02:00
Guillaume Polaert 2e693a41db Merge remote-tracking branch 'origin/dev' into dev
# Conflicts:
#	dd-java-agent/pom.xml
2017-06-13 14:20:06 +02:00
Guillaume Polaert 143d1265f9 fix conflict 2017-06-12 09:12:31 +02:00
Guillaume Polaert 296aa426d7 working on Cassandra Contrib 2017-06-12 09:03:18 +02:00
renaudboutet b12dcb53b4 Loaded new contribution versions + migration of instrumentation rules 2017-06-09 22:19:50 +02:00
renaudboutet 5123574203 Enable custom tracing with annotations over a subset of packages + documentation modified accordingly 2017-06-07 18:56:21 +02:00
renaudboutet 97d98da80a Fix and re-enable integration tests at compilation time 2017-06-07 12:26:37 +02:00
Guillaume Polaert 1a41751e34 refactoring skel 2017-05-31 15:25:02 +02:00