Commit Graph

273 Commits

Author SHA1 Message Date
Tyler Benson 12a2fce96d Upgrade java formatter version. 2018-07-19 14:10:53 +10:00
Tyler Benson da2c54e8e8 Add test build for Java 10.
We still require `--add-opens java.base/jdk.internal.loader=ALL-UNNAMED` to be set.  Something we should look into fixing somehow.
2018-07-12 13:20:39 -04:00
Tyler Benson 17c2f28947 Upgrade to gradle 4.8.1 2018-06-26 10:33:35 +10:00
Tyler Benson 83db4e8c4d
Merge pull request #352 from DataDog/tyler/netty
Netty HTTP client and server instrumentation
2018-06-21 14:11:12 +10:00
Nikolay Martynov 9cc99bafbf Simplify Jacoco configuration 2018-06-20 17:13:30 -04:00
Tyler Benson 43e31eae80 Separate out instrumentation for netty 4.0 from 4.1 2018-06-18 12:52:42 +10:00
Tyler Benson ff56389a56 Upgrade some versions. 2018-06-14 11:56:56 +10:00
Nikolay Martynov 9174c7804c Update Jacoco version
This fixes some (but not all) problems with newer JVMs
2018-06-06 09:31:25 -04:00
Tyler Benson d5d24c50c7 Replace @Unroll’s with a rule to always unroll. 2018-05-10 15:24:59 +10:00
Tyler Benson 9a52303376 Apply jacoco to every java project
Some projects have ignores/whitelists, but generally coverage is pretty high.

AFAIK, this doesn’t really capture instrumentation test coverage though.
2018-05-04 16:23:32 +10:00
Tyler Benson f35e2e6ebe Remove various warnings and other cleanup
Also upgrade some plugins.
2018-05-04 14:05:06 +10:00
Tyler Benson 252fa92200 Upgrade gradle version. 2018-04-27 12:42:51 +10:00
Tyler Benson 57eade612f Upgrade Byte-buddy to 1.8.8
Also remove some erronously checked in files.
2018-04-26 22:53:45 +10:00
Tyler Benson 001e59e0cc Build with Java 8, but run tests with other JDKs
Use workspaces to persist build between jobs.
2018-04-16 14:36:38 +08:00
Andrew Kent 63ae144734
Merge pull request #277 from DataDog/ark/play
Play 2.4-2.6 Instrumentation
2018-04-09 13:39:03 -04:00
Tyler Benson d9d601ce71 Add Gradle build scan plugin 2018-04-04 22:15:10 +08:00
Tyler Benson 79a9826863 Add the errorprone compiler. 2018-04-04 20:48:28 +08:00
Tyler Benson 467301fe90 Try upgrading to latest version of BB. 2018-03-29 11:21:13 +08:00
Tyler Benson 6c756afe7a Misc upgrades. 2018-03-27 11:26:46 +08:00
Andrew Kent 2fce4de1c5 Gradle script to use scala in spock 2018-03-26 10:40:28 -07:00
Andrew Kent ce4dc58d7b Fix java9 test setup 2018-03-15 16:42:00 -07:00
Tyler Benson 7e700eaf1f
Revert "CI: publish branches prefixed with 'patch_release'" 2018-03-05 12:52:37 +10:00
Andrew Kent 5e8f7ad862 CI: publish branches prefixed with 'patch_release' 2018-03-02 14:34:15 -05:00
Tyler Benson 3be3d11097 Try releasing from tags (#241) 2018-03-02 13:05:21 -05:00
Tyler Benson 3ec70ac026 Add instrumentation for spring error handling
Also add additional tests for spring boot
2018-02-13 09:07:53 +10:00
Tyler Benson 4958a3d306 Fix dependency problem in dropwizard example
There was an incompatible mix of jackson dependencies which caused the app to not start up.  Changed the tracer client to use an old version, but allow the agent to still use a newer version (since it is shadowed).
2018-02-07 12:41:18 +10:00
Tyler Benson 7d28a32fba Allow instrumentation to be disabled
By default, instrumentation is enabled, and can be disabled by default by overriding the `defaultEnabled` method. Instrumentation can also be disabled individually or enabled when default is disabled.
2018-02-06 11:20:05 +10:00
Tyler Benson 6fbe494934 Exclude tests that are Java 9 incompatible. 2018-01-23 14:59:10 -05:00
Tyler Benson 9acbe5710e
Merge pull request #198 from DataDog/tyler/update
Update dependencies
2018-01-22 16:47:50 -05:00
Tyler Benson 53a575dc74 Update dependencies 2018-01-22 15:08:28 -05:00
Tyler Benson 64d39030e5 Use workflows in Circle to test Java 7 and 8
Java 9 is commented out because there are some test failures that will be investigated later.

Some tests had to be excluded from Java 7 because they don’t have a Java 7 compatible version.
2018-01-22 13:46:50 -05:00
Tyler Benson b2b61e0c8c Changes required for supporting OT 0.31.0
Also updates all the contrib versions that we currently depend on to their 0.31.0 supporting versions.
2018-01-16 09:52:28 -05:00
Tyler Benson 17b0c9a9be Update dependency versions 2018-01-12 10:05:59 -05:00
Tyler Benson becf2a5862 Lots of renaming
Module:
dd-trace -> dd-trace-ot

Packages:
Standardize on `datadog.trace` and `datadog.opentracing` as the package prefixes.
2018-01-09 10:02:06 +10:00
Andrew Kent faa7dae914 Add bytebuddy agent to dependencies 2017-12-28 09:46:08 -08:00
Andrew Kent 922b3012e6 Support for eclipse + buildship (#173) 2017-12-14 10:20:27 +01: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 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
Tyler Benson ff4f39779e Fix transitive dependencies
New instrumentation was bringing in their dependencies into the jar, resulting in a much larger jar file.  This should resolve that.
2017-11-10 11:45:00 -05:00
Tyler Benson e8bbc849bb Set resource name using the route pattern from spring.
This provides a better static resorce name than trying to conjure one out of the original URL.
2017-10-30 13:24:18 -07:00
Tyler Benson 6cb7a89f05 Minor cleanup to publish
Ivy isn’t used by bintray or maven central.  We don’t really need to publish it for our snapshots.
2017-10-12 11:01:26 +02:00
Tyler Benson 9c39bb64ae Fix aws version in readme, add finals and reformatting 2017-09-18 10:49:08 -07:00
Tyler Benson 7a2c8c411e Remove version numbers from generated files
This should only be used for local development.  This makes it easier for command line testing to have consistent file references that don’t change each release.
2017-09-12 16:06:39 -07:00
Tyler Benson 3bc153241b Abstract core dependencies for central management 2017-09-07 16:38:21 -07:00
Tyler Benson 1bfc5e8b11 Fix artifactory configuration. 2017-09-07 11:06:27 -07:00
Tyler Benson 43436999c4 Automatically publish to bintray after artifactory 2017-09-07 10:22:36 -07:00
Tyler Benson 8ba3c0f156 Fix jacoco for integration tests
Also change slf4j package since it’s important for configuring log levels.
2017-09-05 11:43:37 -07:00
Tyler Benson 03ca35426c Convert InstrumentationCheckerTest to Spock 2017-08-18 11:11:37 -06:00
Tyler Benson 38545befbb dd-trace shouldn’t be shadow bundled 2017-08-07 14:27:40 -07:00
Tyler Benson 46d980ea0a Begin 0.2.1
Also fix minor problem with bintray config.
2017-08-04 12:26:59 -07:00
Tyler Benson 0725ca049e Fix build from breaking when missing bintray creds. 2017-08-03 17:41:00 -07:00
Tyler Benson 7618a5fcd8 Update documentation with deploy instructions 2017-08-03 15:53:04 -07:00
Tyler Benson 835149b722 Add bintray publishing
to bypass permission problem in promoting from oss artifactory.
2017-08-03 13:27:38 -07:00
Tyler Benson 480b720ed2 Enable publishing of artifactory build info 2017-08-02 14:56:07 -07:00
Tyler Benson b371b59ce2 Don’t exclude the wrapper jar 2017-08-01 15:09:51 -07:00
Tyler Benson c1e0e08161 Include build number in info 2017-08-01 11:53:35 -07:00
Emanuele Palazzetti 0e4a66cab8 Merge pull request #63 from tyler/wrapper-examples
Add gradlew to examples and update docs
2017-07-25 12:14:23 +02:00
Tyler Benson 5bfff0bece Add gradlew to examples and update docs 2017-07-21 17:03:31 -07:00
Tyler Benson 8e4e9fe0ac Clean up version and include git sha in reported number
Exclude lombok from being included in the shadow jar.
2017-07-21 08:52:17 -07:00
Tyler Benson 8f794f8364 Merge pull request #59 from DataDog/tyler/shadow-artifacts
Fix jar uploading to use shadow jar instead of unbundled jar
2017-07-20 10:11:12 -07:00
Tyler Benson 02d8f153a6 Fix jar uploading to use shadow jar instead of default
Rename default jar to be explicit that no dependencies are embedded.
2017-07-20 09:58:22 -07:00
Tyler Benson d6271d866e Use lombok @Slf4j annotation for declaring loggers 2017-07-19 11:24:41 -07:00
Tyler Benson e8dbc34bea Apply consistent formatting to other files 2017-07-19 08:09:19 -07:00
Tyler Benson 5622734629 Attempt signing for CI 2017-07-18 08:39:10 -07:00
Tyler Benson c881285d2c Set high threshold that can be lowered later for stricter enforcement. 2017-07-12 07:47:19 -07:00
Tyler Benson e16ad373ad Apply and enforce google checkstyle and formatting
If caught with a format violation, executing `./gradlew googleJavaFormat` should fix it.

There are currently some warnings, but they’re not causing failures, so we can clean that up as we go.
2017-07-12 07:47:19 -07:00
Tyler Benson 980305fb5b Upload to artifactory on merge to master 2017-07-11 17:12:27 -07:00
Tyler Benson 840ada4650 Enable uploading to local artifactory. 2017-07-11 17:12:27 -07:00
Tyler Benson b422ec7663 Apply minimum code coverage assertions
Improved the test coverage slightly in the process.
2017-07-10 14:24:11 -07:00
Tyler Benson 95c7a5ac08 Finish updating gradle and remove maven pom's. 2017-07-06 15:56:32 -07:00
Tyler Benson 5a6bd2d002 Add gradle build scripts.
Currently has issues with shadow jar due to Java 9 compiled classes inside byteman used by dd-java-agent.
2017-06-30 11:35:57 -07:00