Commit Graph

3049 Commits

Author SHA1 Message Date
Laplie Anderson df18c7c0a8
Added some more comments 2019-09-10 19:43:23 -04:00
Laplie Anderson 8915281de2 Java 9 (and only Java9) requires jmods on the module path 2019-09-10 13:20:19 -04:00
Laplie Anderson 3a7dcf3dcd Build java9-modules project with a jdk >= 9 2019-09-10 10:45:34 -04:00
Laplie Anderson be60d362ae Manually call jlink because plugin won't work with our build 2019-09-04 13:11:03 -04:00
Laplie Anderson a3d792b4b9 ImageDir as a property is unneeded and can be derived 2019-09-04 13:11:03 -04:00
Laplie Anderson 9087c2e7e7 Pass the image dir directly instead of getting it from jlink 2019-09-04 13:11:03 -04:00
Laplie Anderson 8ba79db208 Disable task if version is too low. Include all sourcesets in jars 2019-09-04 13:11:03 -04:00
Laplie Anderson 6c5af673cd Minor issues 2019-09-04 13:11:03 -04:00
Laplie Anderson 3323bbc5b1 java.sql classes are not always present 2019-09-04 13:11:03 -04:00
Laplie Anderson fa378e16d3 Simply since the agent code doesn't run without java.instrument 2019-09-04 13:11:03 -04:00
Laplie Anderson 7a0ba452b8 Module smoke test framework 2019-09-04 13:11:03 -04:00
Laplie Anderson 983b4e2e6c
Merge pull request #973 from DataDog/landerson/all-tests-on-all-jvms
Run all tests on all java versions
2019-09-04 12:28:26 -04:00
Laplie Anderson 619ecb8170 Fix a couple tests failing with IBM 8 2019-09-03 17:19:46 -04:00
Laplie Anderson 457410ea4e Run all tests on all java version 2019-09-03 13:03:16 -04:00
Nikolay Martynov 02adf464e4
Merge pull request #972 from DataDog/mar-kolya/update-gradle
Update gradle to 5.6.1
2019-09-03 12:16:24 -04:00
Nikolay Martynov acb90867a4 More dependency updates 2019-09-03 10:38:39 -04:00
Nikolay Martynov df232f2d35 Update groovy lib 2019-09-03 10:26:59 -04:00
Nikolay Martynov 1ef3889a2f Update gradle to 5.6.1 2019-09-03 10:17:59 -04:00
Laplie Anderson 79c519e4fe Begin 0.33.0 2019-08-30 18:57:25 -04:00
Laplie Anderson e158f110b6 Version 0.32.0 2019-08-30 16:42:54 -04:00
Laplie Anderson d94f5df00e
Merge pull request #968 from DataDog/landerson/better-internal-jar
Change packaging of internal jars
2019-08-30 15:09:41 -04:00
Tyler Benson a693c42dc1
Merge pull request #969 from DataDog/labbati/jax-rs-op-name
Static operation names for JaxRS instrumentation to be used as root span
2019-08-30 14:09:46 -04:00
Laplie Anderson ac2087eb4a Use .isolated instead of .jar 2019-08-30 14:06:51 -04:00
Laplie Anderson d03d583e85
Merge pull request #966 from DataDog/landerson/wrap-instrumentation-install
Wrap instrumentation installation with a try/catch
2019-08-30 14:02:13 -04:00
Tyler Benson aec22640f3 Remove unused method and finish comment
Also adjust naming slightly.
2019-08-30 13:52:54 -04:00
Luca Abbati 0b0d75bcf2
Jax-rs user METHOD PATH as resource only when root span 2019-08-30 19:28:55 +02:00
Luca Abbati 0b71c6bbe5
Rename operation jax-rs.endpoint to jax-rs.request 2019-08-30 17:57:03 +02:00
Luca Abbati d877039fa7
Set span.type = web on jax-rs endpoints 2019-08-30 13:57:30 +02:00
Luca Abbati 359ac9c190
Fix indentation in JaxRS instrumentation test 2019-08-30 13:05:24 +02:00
Luca Abbati d9f09e6af5
Minor refacotrings to JaxRsAnnotationsInstrumentation.java 2019-08-30 12:23:41 +02:00
Luca Abbati 37dcfe5385
Use static operation names for JaxRS instrumentation 2019-08-30 12:18:41 +02:00
Laplie Anderson f3bb22d8df Revert addition of tests. Too many issues 2019-08-29 18:20:09 -04:00
Laplie Anderson ae9f8e15dd Add test. Address other PR concerns 2019-08-29 17:48:29 -04:00
Laplie Anderson 5994fa8734 Change packaging of internal jars to be exploded in a subfolder 2019-08-29 16:04:10 -04:00
Tyler Benson 534df900c3
Merge pull request #961 from DataDog/tyler/glassfish
Disable Grizzly instrumentation by default
2019-08-29 11:37:55 -04:00
Laplie Anderson 08de0b02fd Wrap instrumentation installation with a try/catch 2019-08-28 17:33:11 -04:00
Tyler Benson 09ad2374cf Disable Grizzly instrumentation by default
Otherwise it can interfere with the more common Servlet instrumentation (changing the root span name).

Unify attribute/property name for saving span on a request/context.
Also add tests for embedded GlassFish.
2019-08-27 13:27:57 -04:00
Laplie Anderson 3f29e72317
Merge pull request #960 from DataDog/landerson/module-reference-fix
Ensure injected modules can read helper class modules
2019-08-27 12:42:34 -04:00
Tyler Benson 5f0e13f6c4
Merge pull request #956 from DataDog/tyler/play-testing
Update Play instrumentation to work with 2.7
2019-08-27 12:22:25 -04:00
Tyler Benson 263c442bdb Fix order of operations 2019-08-27 12:06:21 -04:00
Laplie Anderson 7a41ca7d6e Change whitelist fields from static to instance 2019-08-27 12:06:01 -04:00
Laplie Anderson d170984f72 Use weak references for the helper modules so ClassLoaders can be GC'd 2019-08-27 10:56:04 -04:00
Laplie Anderson 99e083b90f
Merge pull request #959 from DataDog/landerson/url-classloader-test
Add test for ClassNotFoundException creating a span
2019-08-26 17:13:55 -04:00
Nikolay Martynov 1c6c22fac2
Merge pull request #964 from DataDog/mar-kolya/update-gradle
Update gradle to latest version
2019-08-26 15:44:11 -04:00
Nikolay Martynov d8dcbe1278
Merge pull request #963 from DataDog/mar-kolya/update-jmxfetch
Update jmxfetch
2019-08-26 13:15:39 -04:00
Nikolay Martynov b34f96da7d Update gradle to latest version 2019-08-26 13:13:30 -04:00
Nikolay Martynov 0592c016ca Update jmxfetch
New fixes include better tagging for k8s environments
2019-08-26 12:50:44 -04:00
Laplie Anderson 25c0d19f23 CodeNarc complains about the unused variable 2019-08-26 11:19:03 -04:00
Laplie Anderson 7b66a31d80 Ensure injected modules can read the helper class module 2019-08-23 19:14:10 -04:00
Laplie Anderson 9c5766162a Add test for ClassNotFound creating a span bug 2019-08-23 13:04:56 -04:00