Anuraag Agrawal
d8355c672d
Docs for writing new instrumentation... ( #652 )
...
* Docs for writing new instrumentation
2020-07-19 14:21:19 +09:00
Alexey Zhokhov
f3421e91a0
Remove Lombok ( #672 )
...
* Gradle 6.5.1.
* Skip download javadoc and sources automatically in IntelliJ IDEA.
* Added mavenLocal to repositories.
* Removed Lombok usage.
* Removed duplicated idea config.
* Code format.
* Removed useless usage of Objects.requireNonNull.
* Use instanceof to comparing objects.
* Code format.
* Code format.
* Fixes after merge.
* Fixed sneakyThrow exception.
* Code format.
2020-07-18 15:52:55 +03:00
Nikita Salnikov-Tarnovski
ac200720c8
Allows actually consume published instrumentation artifacts ( #692 )
2020-07-14 15:09:17 +03:00
Nikita Salnikov-Tarnovski
d96a771dd0
Update to otel-java 0.6.0 ( #662 )
...
* Working against otel-java 0.6.0-SNAPSHOT
* Muzzle fix
* Better comment
* Now works with otel-java 0.6.0
* Fix muzzle
2020-07-11 09:10:28 +03:00
Nikita Salnikov-Tarnovski
b77fb267f3
Gradle warnings ( #659 )
...
* More gradle warnings fixes
* Disable javadoc where it is definitely not needed
* Polish
2020-07-10 07:57:54 +03:00
Anuraag Agrawal
8f3b7565b0
Shade AWS instrumentation library when using in agent ( #644 )
...
* Shade AWS instrumentation library when using in agent
* Cleanup and doc
* spotless
2020-07-08 12:36:55 +09:00
Nikita Salnikov-Tarnovski
a62801649f
More fixes for Gradle warnings ( #643 )
...
* More gradle deprecation warnings fixed
* More gradle deprecation warnings fixed
* More fixes
* More fixes
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2020-07-07 15:02:07 +03:00
Björn Antonsson
91ad9965d3
Make build fail on spotless differences ( DataDog/dd-trace-java#1627 )
2020-06-30 11:15:50 -07:00
Tyler Benson
4a943c8411
Use Spotless for formatting ( DataDog/dd-trace-java#1619 )
2020-06-30 11:15:48 -07:00
Sergei Malafeev
5f70b521b7
#560 Consolidate src/main/java8 and src/main/java9 into src/main/java ( #617 )
...
Signed-off-by: Sergei Malafeev <sergei@malafeev.org>
2020-06-30 16:34:59 +03:00
Nikita Salnikov-Tarnovski
de1fb295cb
Now publish all instrumentations as well. ( #565 )
...
* Now publish all instrumentations as well.
Changed groupId to `io.opentelemetry.instrumentation`.
Removed `opentelemetry` from auto-exporters' artifactIds.
Some instrumentations will need moving around to have better names, e.g. servlets. Should I do it right away?
* Polish
* Unify names of published artifacts
* Renamed some modules
* Fix CI config
* Rename project-reactor back to reactor
2020-06-27 08:57:24 +03:00
Anuraag Agrawal
874b157fe5
Newline between license and package. ( #581 )
2020-06-25 13:31:16 -07:00
Nikita Salnikov-Tarnovski
9a52f6708e
Gradle dependencies cleanup ( #556 )
...
* Bootstrap fixed
* Tooling fixed
* Testing fixed
* All instrumentation tests pass
* All tests pass
* Fix test
* Muzzle workaround
* Muzzle fix
* Update instrumentation/trace-annotation/trace-annotation.gradle
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-06-24 12:01:14 +03:00
Nikolay Martynov
84d4e24989
Upgradle gradle to 6.5 ( DataDog/dd-trace-java#1589 )
2020-06-23 14:08:46 -07:00
Anuraag Agrawal
9a2a0b5de9
Add lettuce 5.2 instrumentation that uses lettuce's native tracing functionality. ( #535 )
...
* Copy Lettuce 5.0 to start 5.1 instrumentation
* Begin tracing adapter implementation
Co-authored-by: Dustin Neray <dustin.neray@gmail.com>
* Set floor to 5.2 instead
* Move around
* Finish
* Cleanups
* Instrument 5.1+ instead
* Cleanup
* 5.1
* Remove latestDepTest from lettuce-5.0 since we have a newer lettuce-5.1.
* Remove
* Remove package check
* Spotless
Co-authored-by: Dustin Neray <dustin.neray@gmail.com>
2020-06-18 18:22:45 +03:00
Nikita Salnikov-Tarnovski
dbb639a56d
Don't deploy releases to Artifactory ( #527 )
2020-06-15 22:20:01 +03:00
Tyler Benson
1b29184e7c
Make rootDir usage consistent ( DataDog/dd-trace-java#1518 )
2020-06-11 10:14:02 -07:00
Tyler Benson
f2bf50684a
Use Retry.Mode.SETUP_FEATURE_CLEANUP to improve Elasticsearch test flakiness ( DataDog/dd-trace-java#1494 )
2020-06-11 10:12:11 -07:00
Nikita Salnikov-Tarnovski
ae03d88c20
Enable publishing to Artifactory OSS ( #489 )
2020-06-10 07:34:09 +03:00
Nikita Salnikov-Tarnovski
31177c2fa9
Disable publishing to Artifactory OSS until it is properly configured on JFrog side ( #486 )
2020-06-09 20:57:34 +03:00
Nikita Salnikov-Tarnovski
c248f140aa
Artifactory and bintray publish ( #403 )
...
* Artifactory and bintray publish
* Delegate version management to Nebula
* Proposal of new release process
* New CI jobs for releasing
* Fix nebula versioning
* Polish
* Fix CI
* Publish snapshot from master must depend on test_8
* Fix repo name
* Restore version file creation
* Use correct env variable for Bintray credentials
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-06-09 07:56:12 +03:00
Nikita Salnikov-Tarnovski
1c59062aae
0.5.0 ( #476 )
...
* Update to otel-java 0.5.0-SNAPSHOT (#462 )
* Update to otel-java 0.5.0-SNAPSHOT
* Tests pass
* Check fix
* Switch to otel-java 0.5.0
* Add TODOs
2020-06-05 20:11:49 +03:00
Trask Stalnaker
96fa7b8c31
Merge changes from dd-trace-java 0.53.0 ( #456 )
...
* Add time in queue (DataDog/dd-trace-java#1481 )
* Minor upgrades (DataDog/dd-trace-java#1495 )
* Allow user to disable kafka time in queue tag (DataDog/dd-trace-java#1487 )
* Replace Set<Integer> with BitSet for HTTP statuses (DataDog/dd-trace-java#1496 )
* Register WeakMapProvider earlier in AgentInstaller (DataDog/dd-trace-java#1480 )
* Update codenarc (DataDog/dd-trace-java#1500 )
Co-authored-by: Tyler Benson <tyler.benson@datadoghq.com>
Co-authored-by: Nikolay Martynov <mar.kolya@gmail.com>
Co-authored-by: Richard Startin <richard.startin@datadoghq.com>
2020-06-02 18:20:54 +03:00
Trask Stalnaker
015be46ec2
Remove unnecessary version constant ( #455 )
2020-05-31 06:31:38 +03:00
Trask Stalnaker
359eb07445
Updates to reflect new repo name ( #454 )
2020-05-30 11:56:12 -07:00
Anuraag Agrawal
d4a14f6b98
Separate out core instrumentation for AWS SDK to allow manual setup o… ( #421 )
...
* Separate out core instrumentation for AWS SDK to allow manual setup of instrumentation.
* Instrumentation core test
2020-05-27 10:43:56 -07:00
Nikolay Martynov
a16b519176
Update gradle to 6.4 ( DataDog/dd-trace-java#1443 )
2020-05-26 11:54:55 -07:00
Sergei Malafeev
7ea2da3d0b
Add Zipkin exporter support ( #411 )
...
* #375 Add Zipkin exporter support
Signed-off-by: Sergei Malafeev <sergeymalafeev@gmail.com>
* #375 use OkHttpSender for Zipkin exporter
Signed-off-by: Sergei Malafeev <sergeymalafeev@gmail.com>
* #375 add Zipkin exporter to README
Signed-off-by: Sergei Malafeev <sergeymalafeev@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-05-19 15:58:41 -07:00
Sergei Malafeev
2308c69875
upgrade opentelemetry to 0.4.1 ( #410 )
...
Signed-off-by: Sergei Malafeev <sergeymalafeev@gmail.com>
2020-05-18 10:40:01 -07:00
Carlos Alberto Cortez
009cc6ad1e
Initial Propagators support. ( #389 )
2020-05-14 16:57:52 -07:00
Nikita Salnikov-Tarnovski
6cfe2256ef
Use java 11 for compilation ( #390 )
...
* Allow compiling of everything with java 11
* Instruct CircleCI to use java 11 be default
* Forbid running some tests on java11
* Muzzle uses ClassLoader.platformClassLoader as parent for user-space classloader
2020-05-14 15:13:30 -07:00
Tyler Benson
ca27485a5c
Upgrade Byte Buddy to 1.10.10 ( DataDog/dd-trace-java#1409 )
2020-05-14 11:50:30 -07:00
Tyler Benson
5ecd8cb81e
Add instrumentation for okhttp 2.2+ ( DataDog/dd-trace-java#1402 )
2020-05-14 11:50:27 -07:00
Nikita Salnikov-Tarnovski
c9cf7ffb61
Make auto-instr work with latest otel-java snapshot ( #372 )
...
* Make auto-instr work with latest otel-java snapshot
* Add CircleCI workflow to run nightly test job against otel-java snapshot
* Decrease snapshot versions cache time
* Add comments suggest during review
* Add comments suggest during review
* Add missed helper class
* Use released otel-java 0.4.0
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-05-04 23:18:39 -07:00
John Bley
ca296b92fd
Normalize sql statements to elide literal numbers and strings. ( #366 )
...
* Normalize sql statements to elide literal numbers and strings.
* Missed one SlickTest sql normalization.
* Fix muzzle order for helper classes.
* Change name of feature flag
* Upgrade to latest spotless version in an attempt #1 to make the circleci build work.
* Attempt 2 to make circleci build happy - exclude build/generated/** from spotless.
* Attempt 3 to get circleci build working, adding *.java to the exclude line.
* Change exclude of generated files to include of just the src/ directory.
I confirmed that this properly failed the build if I remove a license header from a src/ directory.
2020-05-04 12:17:55 -07:00
Nikita Salnikov-Tarnovski
62426c8158
Allows `./gradlew clean build` to run successfully. ( #355 )
...
* CI job `check` will run `build` gradle task
2020-04-29 08:08:14 -07:00
Nikita Salnikov-Tarnovski
6e1c0436da
Clarifications about various test tasks ( #358 )
...
In addition this commit replaces eager tasks generation for running tests using different java versions with rule based task created on-demand.
2020-04-28 18:11:17 -07:00
Trask Stalnaker
62e43d3e54
Bring back code coverage verification ( #357 )
2020-04-28 15:27:44 -07:00
Trask Stalnaker
f9e74ac9c6
Fix some sporadic test failures ( #354 )
...
* Fix some sporadic test failures
* Improve Jetty test advice
* Fix smore sporadic test failures
* Improve test consistency
2020-04-27 11:40:27 -07:00
Trask Stalnaker
ce3d764ffa
Merge commit '437e0f343dcd66ac344556c03bd340ce791b1fdd' into correct-history
2020-04-21 12:55:51 -07:00
Nikolay Martynov
f267931794
Merge pull request #1382 from DataDog/mar-kolya/increase-test-timeout
...
Increase gradle test timeout
2020-04-20 14:27:56 -04:00
Jaroslav Bachorik
eb272bcc00
Add exception sampling event ( #1297 )
2020-04-20 16:31:54 +02:00
Nikolay Martynov
377036efd4
typo fixes
...
Co-Authored-By: Jaroslav Bachorik <jaroslav.bachorik@datadoghq.com>
2020-04-20 08:35:23 -04:00
Nikolay Martynov
2e48634934
Increase gradle test timeout
2020-04-20 08:29:06 -04:00
Trask Stalnaker
ecc26226dc
Merge tag 'v0.49.0' into dd-merge
2020-04-18 16:00:00 -07:00
Nikolay Martynov
95810488e4
Merge branch 'master' into mar-kolya/upgrade-statsd
2020-04-17 11:47:17 -04:00
Nikolay Martynov
0d11207123
update groovy
2020-04-17 10:38:47 -04:00
Nikolay Martynov
5f9bd1e082
update kotlin
2020-04-17 10:37:00 -04:00
Nikolay Martynov
20bbc6d9da
update junit5
2020-04-17 10:36:01 -04:00
Nikolay Martynov
2fc06d9c85
update slf4j
2020-04-17 10:34:34 -04:00