Commit Graph

338 Commits

Author SHA1 Message Date
Anuraag Agrawal 1b9b8b49b6
Separate out testing module for mongo. (#1041)
* Separate out testing module for mongo.

* Newline
2020-08-18 14:55:56 +09:00
Anuraag Agrawal b507a2b803
Separate out shared test sources for couchbase/play-ws to another pro… (#1029)
* Separate out shared test sources for couchbase/play-ws to another project.

* git add missing files.

* Rename
2020-08-18 13:25:29 +09:00
Anuraag Agrawal 201324d799
Use fixed versions for external-annotation tests. (#1027) 2020-08-18 13:05:39 +09:00
Anuraag Agrawal d636364d39
Remove elasticsearch-transport-2.0 (#1024) 2020-08-17 10:51:28 -07:00
Anuraag Agrawal 0afb55ab40
Remove latestDepTest from rxjava-1.0 which doesn't have any test sources. (#1028) 2020-08-17 16:36:31 +03:00
Trask Stalnaker 14ff14f2b1
Remove thread utils module (#1017)
* Remove thread-utils module

* No need for extra thread pool
2020-08-17 11:10:48 +03:00
Trask Stalnaker 2b898dd490
Remove Java 8 test restriction (#1019) 2020-08-16 21:18:52 -07:00
Trask Stalnaker d9dca25402
Remove unused javaSubPackage config (#1020) 2020-08-16 21:18:10 -07:00
Trask Stalnaker 5bce79df36
Remove unnecessary getVersion overrides (#1004) 2020-08-16 10:13:35 -07:00
Anuraag Agrawal 5b43e328f5
Fix jms2 tests and use a separate source set for them instead of latestDepTest (#1015)
* Update JMS2 tests

* Finish
2020-08-16 18:00:41 +09:00
Trask Stalnaker 7159d04b8d
Change groovy import order (#1013)
* Update docs

* Format all groovy code

* Organize imports
2020-08-15 23:19:27 -07:00
Trask Stalnaker 414213f2d1
Remove final from parameters (#1003) 2020-08-15 22:35:51 -07:00
Trask Stalnaker f893ca540b
Scripted package renaming (#988) 2020-08-15 21:55:01 -07:00
Trask Stalnaker 4062d1c9b4
Remove maxJavaVersionForTests from netty-4.0 (#1006) 2020-08-15 21:28:25 -07:00
Trask Stalnaker 4169a76fda
Remove unused / uncompilable slf4j-mdc module (#1008) 2020-08-15 21:28:07 -07:00
Trask Stalnaker a297175edd
Propagate context not span in grpc instrumentation (#987) 2020-08-15 11:13:30 -07:00
Helen Y bb235a0aa3
Update package name for tracers (#991) 2020-08-14 21:07:18 -07:00
Helen Y 888ebe17a2
Delete HttpClientDecorator (#967) 2020-08-14 13:10:56 -07:00
Sergei Malafeev 43e0141056
add some JMS attributes (#963) 2020-08-14 09:42:06 -07:00
Anuraag Agrawal 458b7d42b2
Stub out CorrelationsContextUtils for now to allow OT shim to work. (#974) 2020-08-14 18:00:05 +09:00
Trask Stalnaker f46ba88c29
Rename library-api artifact to instrumentation-api (#969) 2020-08-13 22:43:39 -07:00
Trask Stalnaker f940b2d2de
Use OpenTelemetry.getTracer() shortcut (#965) 2020-08-14 07:11:06 +03:00
Trask Stalnaker 7818e33178
Package renaming (#970) 2020-08-13 20:14:46 -07:00
Helen Y 09c597e8e0
Change the rest of decorators to tracers (#922) 2020-08-13 11:55:08 -07:00
Trask Stalnaker 622ab27ae8
Better naming around around shaded/unshaded (#953) 2020-08-12 22:51:04 -07:00
Trask Stalnaker bf9c160570
Rename javaagent modules (#952) 2020-08-12 22:50:14 -07:00
Trask Stalnaker 1816eb9cbe
Rename annotations module to external-annotations (#951) 2020-08-12 22:49:50 -07:00
Anuraag Agrawal e9d456d616
Instrument DefaultSpan.create to return a bridged span. (#947) 2020-08-12 10:39:47 -07:00
Nikita Salnikov-Tarnovski e26801482c
Add document describing current problem with context propagation (#910)
* Add document describing current problem with context propagation

* Update docs/contributing/inter-thread-context-propagation.md

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* Update docs/contributing/inter-thread-context-propagation.md

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* More clarifications

* More clarifications

* Better example

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-12 20:33:07 +03:00
Anuraag Agrawal c4a494cd68
Add instrumentation for Armeria WebClient. (#920)
* Add instrumentation for Armeria WebClient.

* Format:

* httpurlconnection

* Docs and consistency:
2020-08-12 17:33:36 +09: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
Munir Abdinur 56e1549378
Add spring webflux documentation (#916)
* add readme and rename springwebflux package

* add readme and rename springwebflux package

* fix bean type

* fix readme

* format

* fix gradle

* fix gradle

* fix gradle

* updated package name

* clean up readme

* Update README.md

* Update instrumentation-core/spring/spring-webflux-5.0/README.md

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* Update instrumentation-core/spring/spring-webflux-5.0/README.md

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>

* format, clean up comments

* clean ups

* Update README.md

* fix conflict

* fix helper class names

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2020-08-12 09:27:17 +09:00
Helen Y 5b114d0ac8
Change aws-sdk client decorators to tracers (#918) 2020-08-11 17:10:02 -07: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 51717d1e2f
Better info message (#937) 2020-08-10 07:31:58 +03:00
Trask Stalnaker f9f6d1f6b3
Change library shading approach (#930) 2020-08-09 11:16:34 -07:00
Trask Stalnaker 0eda3dbd01
Avoid ClassCastException on direct SDK access (#931) 2020-08-09 11:16:04 -07:00
Anuraag Agrawal e991cae7f0
Don't use non-fixed test name for akka executor (#933) 2020-08-09 11:00:10 -07:00
Trask Stalnaker d85cce0f62
Remove annotation instrumentation vertx dependency (#917)
* Remove annotation instrumentation vertx dependency

* Remove annotation testing dependency
2020-08-08 20:36:27 -07:00
Nikita Salnikov-Tarnovski 3b68c82f90
Extract Akka context propagation into separate module (#911) 2020-08-07 20:24:26 -07:00
Helen Y 1fcb807590
Refactor HttpClient typed Decorators to Tracers (#893)
* initial work

* Change OkHttp decorators to tracers

* Change AkkaHttpClient decorator to tracer

* Change ClientDecorator to GrizzlyClientTracer

* Change NettyClientDecorator to Tracer

* Change netty3.8 client decorator to tracer

* Update netty4.1 client decorator to tracer

* Override startScope in child tracers when applicable

* Change KHttpDecorator to tracer

* Change HttpUrlConnectionDecorator to tracer

* Fix muzzle validation failure for grizzly client

* Fix a ratpack client test failure

* Address feedback

* Update delegate for setPeer

* Remove nested try

* Remove unnecessary null check

* Remove asserts

* Add a comment for overriding startSpan(String spanName)

* Remove an irrelevant comment

* Throw an exception when getSetter is null

* Change onPeerConnection to static

* Change getSetter() to be abstract
2020-08-06 17:14:19 -07:00
Nikita Salnikov-Tarnovski 46dfa263af
Remove HttpServerTestAdvice (#897)
* Remove HttpServerTestAdvice

* Trying to fix
2020-08-06 13:05:55 +03: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
Trask Stalnaker 2b8cc4a5ae
Fix grizzly instrumentation (#887) 2020-08-03 22:57:51 -07:00
Trask Stalnaker dce9d6db47
Remove ExceptionLogger refs from instrumentation (#883) 2020-08-03 19:04:27 -07:00
Trask Stalnaker 303d8f427f
Add response generic parameter to HttpServerTracer (#870) 2020-08-03 12:52:55 -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