Trask Stalnaker
6a07b173af
Rename auto exporters module ( #1022 )
2020-08-17 21:04:13 -07:00
Nikita Salnikov-Tarnovski
f3c049f2ff
Some tweaks to improve gradle cacheability ( #1030 )
2020-08-17 22:57:49 +03:00
Trask Stalnaker
f893ca540b
Scripted package renaming ( #988 )
2020-08-15 21:55:01 -07:00
Nikita Salnikov-Tarnovski
08b4303d93
Try CiMate ( #980 )
2020-08-14 23:23:52 +03:00
Trask Stalnaker
f46ba88c29
Rename library-api artifact to instrumentation-api ( #969 )
2020-08-13 22:43:39 -07:00
Trask Stalnaker
bf9c160570
Rename javaagent modules ( #952 )
2020-08-12 22:50:14 -07:00
Trask Stalnaker
d778297b55
Only retry tests in CI ( #950 )
2020-08-13 07:53:19 +09:00
Anuraag Agrawal
e9d456d616
Instrument DefaultSpan.create to return a bridged span. ( #947 )
2020-08-12 10:39:47 -07:00
Nikita Salnikov-Tarnovski
a222676a3e
Improved smoke tests ( #934 )
...
* Preping smoke tests
* Improved smoke tests
* Make it work in Linux
* Add workflow to run tests on PR
* Build Smoke tests
* Fix PR workflow trigger
* Fix smoke test apps trigger
* Disable smoke tests in CircleCI and let them run in Github Actions only
* Fix smoke test apps docker image names
* Polish
2020-08-12 12:34:14 +03:00
Anuraag Agrawal
0eafc28608
Run tests using JUnit5 platform and remove SpockRunner ( #770 )
...
* Run tests with JUnit platform
* Matcher
* Restore
* Don't mix JUnit4 with JUunit5 in spring tests
* Separate out tests that need custom class loader.
* Separate out test for a couple classes that need it, try to remove SpockRunner, but Grizzly?
* Remove SpockRunner
* Fix grizzly
* Remove assumeTrue workaround.
* Comments
2020-08-12 11:05:26 +09:00
Trask Stalnaker
275fab6ea5
Retry all tests ( #941 )
2020-08-11 00:20:47 -07:00
Trask Stalnaker
b5fbf90977
Extract instrumentation api module ( #884 )
2020-08-09 22:52:33 -07:00
Trask Stalnaker
2c786ab1a1
Fix WithSpan annotation instrumentation ( #929 )
2020-08-09 21:46:50 -07:00
Trask Stalnaker
f9f6d1f6b3
Change library shading approach ( #930 )
2020-08-09 11:16:34 -07:00
Anuraag Agrawal
2ac65a67d5
Replace Spock retry with Gradle retry. ( #908 )
...
* Replace Spock retry with Gradle retry.
* Retry akka for real
* Warning
2020-08-06 17:59:40 +09:00
Munir Abdinur
906d80be12
clean up spring dependencies ( #878 )
2020-08-03 19:07:36 -07:00
Trask Stalnaker
eed2359803
Update to SDK version 0.7.0 ( #881 )
2020-08-03 16:06:25 -07:00
Anuraag Agrawal
ad3963303d
Merge integration tests back into test. ( #871 )
2020-08-02 15:41:47 +09:00
Anuraag Agrawal
87bf97da70
Generate bootstrap jar with gradle instead of when running tests. ( #840 )
...
* Generate bootstrap jar with gradle instead of when running tests.
* kill all semicolons
* docs
* docs
* ByteCodeTest
* Use latestDepTest classpath for its bootstrap jar
* Rename package
* Reformat comment
* Bootstrap jar absolute path
* Save bootstrap jar to reports dir.
* Debug
* Debug
* Use project.getBuildDir
* Restore
* Revert
* testFieldInjection is instrumentation test too.
* Split out bytecode tests for testing-common
* Apply jacoco configuration to all tests.
* Add note that jacoco may be causing frustration.
* YOLO alert - Hope my guess at the reason is correct
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-02 10:17:52 +09:00
dengliming
d362691100
Use new exporter public constants in spring boot starters ( #863 )
2020-08-01 10:01:09 -07:00
Trask Stalnaker
48da19b8a1
Faster spotless ( #844 )
2020-07-31 12:30:21 -07:00
Anuraag Agrawal
d092125ed4
Use dependson instead of finalizedby for integrationTest ( #848 )
2020-07-31 08:23:47 +03:00
Trask Stalnaker
f4ada08c49
Use default zipkin endpoint from otel-java ( #837 )
2020-07-30 11:56:35 -07:00
Helen Y
b659ee8223
Apply new database semantic attributes ( #823 )
2020-07-28 17:31:33 -07:00
Trask Stalnaker
48ef644c90
Run integrationTest as part of test ( #817 )
2020-07-28 15:21:40 +09:00
Munir Abdinur
03dce2ab2a
Create exporter starters ( #815 )
2020-07-27 22:19:30 -07:00
Anuraag Agrawal
91f8e8c199
Use archivesBaseName when publishing. ( #809 )
...
* Use archivesBaseName when publishing.
* Fix auto name
2020-07-27 15:01:55 +03:00
Anuraag Agrawal
688733ad43
Update OTel snapshot to 723 for recordException ( #786 )
...
* Update OTel snapshot to 723 for recordException
* Fix various servlet issues
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-07-27 14:32:05 +09:00
Anuraag Agrawal
5fa1efd38c
Target OTel SDK snapshot ( #746 )
2020-07-22 10:37:56 -07:00
Nikita Salnikov-Tarnovski
fcf4319aac
Faster tests ( #725 )
...
🎉
2020-07-22 10:10:34 -07:00
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