Commit Graph

5944 Commits

Author SHA1 Message Date
Trask Stalnaker 6ea316e22e
Remove timeout annotations (#2725) 2021-04-06 16:36:18 +09:00
Trask Stalnaker b39348d640
Add -Werror flag to the build (#2712)
* Add -Werror to the build

* Add to javadoc also

* Run javadoc

* Change from "check javadoc" to "build"

* Fix javadoc warnings
2021-04-06 10:01:10 +03:00
Anuraag Agrawal 0bd7b4fd65
Update setup-java to v2 (#2733) 2021-04-06 10:00:21 +03:00
Trask Stalnaker b062e38117
Pass OpenTelemetry instance to WebFlux lib tracer (#2730) 2021-04-06 08:52:27 +03:00
Ago Allikmaa 314794eaae
Tomcat 10 and Jetty 11 smoke tests (#2723) 2021-04-06 08:23:48 +03:00
jack-berg 035b3f42f7
Fix build and documentation typos related to autoconfigure SPI. (#2719) 2021-04-05 18:22:34 -07:00
Trask Stalnaker 25dd2cf194
Verify span kind in all tests (#2715) 2021-04-05 12:57:48 -07:00
Ago Allikmaa 905e0c76d6
Fix Tomcat version specified in smoke tests with no public docker image (#2722) 2021-04-05 22:04:15 +03:00
Ago Allikmaa 7027006f66
Request handlers and test images for Tomcat 10 and Jetty 11 (Servlet API 5) (#2703)
* Tomcat 10 and Jetty 11 handlers with Servlet API 5

* Jetty 11 and Tomcat 10 Windows images
2021-04-05 09:45:02 -07:00
Nikita Salnikov-Tarnovski 86ec1d7211
Concurrent server test (#2680)
* Concurrent server test

* Update testing-common/src/main/groovy/io/opentelemetry/instrumentation/test/base/HttpServerTest.groovy

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-04-05 14:12:07 +03:00
Nikita Salnikov-Tarnovski 8f4056ba03
Update supported-libraries.md (#2717)
Update TOC
2021-04-05 12:03:50 +03:00
Nikita Salnikov-Tarnovski 08bc71b3ec
Update semantic-conventions.md (#2716)
Cleanup of the removed attribute
2021-04-05 11:01:31 +03:00
Anuraag Agrawal cc47da585b
New Instrumenter API (#2596)
* Instrumenter

* Spotless

* More instrumenter

* More

* Instrumenter API

* New Instrumenter API - InstrumenterBuilder (#20)

* New Instrumenter API - InstrumenterBuilder

* New Instrumenter API - InstrumenterBuilder - code review comments

* Start doccing

* Docs

* Most tests

* Last test

* Stick with current hostName lookup for now

* Update testing-common/src/main/groovy/io/opentelemetry/instrumentation/test/base/HttpClientTest.groovy

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

* New Instrumenter API - code review comments (#21)

* Doc

* Checkstyle

* Cleanups

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-04-05 15:45:07 +09:00
Ago Allikmaa 19cf89ec1e
Document supported JVMs as a separate section (#2704) 2021-04-05 08:58:57 +03:00
Trask Stalnaker f00c0d4e85
Remove --no-daemon from CI (#2708) 2021-04-05 08:49:05 +03:00
Trask Stalnaker 74b4a239a9
Split out smoke tests in nightly too (#2711) 2021-04-05 08:46:15 +03:00
HaloFour bf8ea885f2
Add AsyncSpanEndStrategy implementation for RxJava 2 instrumentation (#2665) 2021-04-04 22:05:01 -07:00
Lauri Tulmin 87950d1d32
Fix using WithSpan annotation in java6 class (#2699) 2021-04-02 09:34:27 -07:00
Mateusz Rzeszutek 4d07aab66d
Fix latest dep RxJava2 tests (#2700)
And remove latestDepTest version bounds
2021-04-02 09:30:04 -07:00
Lauri Tulmin 53cd8a904c
Implement getContentLenth for InternalJarUrlHandler (#2692) 2021-04-02 08:30:10 +03:00
Nikita Salnikov-Tarnovski 77fa356e6e
Fix latest dep for RxJava test (#2688) 2021-04-02 08:29:20 +03:00
Trask Stalnaker 92f1223aee
Remove unnecessary skipVersions (#2671)
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-04-01 19:02:20 -07:00
Lauri Tulmin 3f5980f9b8
Add support for Tapestry web framework (#2690) 2021-04-01 17:56:55 -07:00
Lauri Tulmin 949d82fbef
Reset context class loader for new thread (#2691) 2021-04-01 16:29:11 -07:00
Lauri Tulmin 255c7eeb28
Update windows fake backend version (#2695) 2021-04-01 16:12:43 -07:00
Mateusz Rzeszutek 1406855bb7
Revert "Prevent duplicate telemetry when using both library and auto instrumentation (#2661)" (#2689) 2021-04-01 16:11:15 -07:00
Lauri Tulmin 4426e1d87b
Update java in windows fake backend image (#2694) 2021-04-01 19:25:00 +03:00
Trask Stalnaker 4b319c759e
Split out smoke tests in main branch build too (#2686) 2021-04-01 09:08:11 +03:00
Trask Stalnaker d5e526b9f3
Cache config values in instrumentations (#2681)
* Cache config values in instrumentations

* Bring back defaultEnabled()

* comment

* one problem
2021-03-31 22:54:20 -07:00
Trask Stalnaker af13e7d6e3
Remove oshi-related code from shared agent code (#2682) 2021-03-31 22:53:22 -07:00
Anuraag Agrawal 84e7306370
Don't instrument rxjava2 internal task class. (#2672)
* Don't instrument rxjava2 internal task class.

* spotless

* AtomicBoolean

* Update instrumentation/rxjava-2.0/javaagent/src/main/java/io/opentelemetry/instrumentation/rxjava2/RxJava2InstrumentationModule.java

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-04-01 08:01:25 +09:00
Mateusz Rzeszutek 30434696ae
Prevent duplicate telemetry when using both library and auto instrumentation (#2661)
* Prevent duplicate telemetry when using both library and auto instrumentation

* Add unit test

* Fix Oshi tests

* Fix couchbase 3.1 tests
2021-03-31 10:57:04 -07:00
Trask Stalnaker 55ccf98b4f
Consolidate classloader modules (#2670) 2021-03-31 09:25:38 -07:00
Anuraag Agrawal 87c9ad0523
Small cleanups to executor tests (#2677) 2021-03-31 21:36:51 +09:00
Anuraag Agrawal 08d8d4c57d
Flag off enableStrictContext for now. (#2676) 2021-03-31 20:24:14 +09:00
Trask Stalnaker bf03a77b3f
Split out smoke tests further (#2668) 2021-03-31 09:23:21 +03:00
Lauri Tulmin e0af64ccdf
Start smoke test backend and collector once (#2653)
* Start smoke test backend and collector once

* code style fix

* review fixes

* add Override annotation

* move methods from interface to abstract class
2021-03-31 09:23:07 +03:00
Trask Stalnaker 0d11dbe565
Fix webflux client filter subscribe (#2646)
* Fix webflux client filter subscribe

* Add test

* Fix test

* Fix test, take 2

* Fix another test

* Suppress test for another module

* Suppress another library instrumentation

* Another

* Add nested client suppression in Armeria

* Add comments

* Revert extra line
2021-03-31 07:54:41 +03:00
Trask Stalnaker 97d58d7ff4
Use class literals where possible (#2669) 2021-03-31 07:45:29 +03:00
HaloFour 9a5c65284f
Rename Jdk8AsyncEndStrategy to Jdk8AsyncSpanEndStrategy (#2664) 2021-03-30 19:09:27 -07:00
Trask Stalnaker 6ed20b3f39
Fix muzzle failure (#2666) 2021-03-30 15:47:01 -07:00
Anuraag Agrawal 2b2bec7b74
Merge war resources (#2660) 2021-03-30 12:37:04 +03:00
Jakub Wach cc666f4c1b
apache camel / aws sdk propagation tests clean-up (#2656) 2021-03-30 12:00:00 +03:00
Mateusz Rzeszutek 052c9ab703
Remove unnecessary libs from testSets test classpath (#2654) 2021-03-30 10:01:35 +02:00
Anuraag Agrawal b4fd5646be
Cache GWT compilation and only generate one permutation. (#2659)
* Cache GWT compilation and only generate one permutation.

* Update instrumentation/gwt-2.0/javaagent/src/testapp/java/test/gwt/Greeting.gwt.xml

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-03-30 16:48:34 +09:00
Trask Stalnaker fbf7625f89
Remove test exclusion for Tomcat testErrorBody (#2657) 2021-03-30 08:54:30 +03:00
HaloFour b0d27405eb
Add asynchronous tracing to Spring Boot Autoconfigure WithSpanAspect (#2618) 2021-03-29 16:35:08 -07:00
Trask Stalnaker f02b0f8d74
Fix suppressed NPE in netty instrumentation (#2649) 2021-03-29 14:44:49 -07:00
Lauri Tulmin 3c11613aed
Add support for GWT (#2652)
* Add support for GWT

* formatting

* review fixes
2021-03-29 19:41:03 +03:00
Lauri Tulmin b999e8a2f5
Add support for vaadin web framework (#2619)
* Add support for vaadin

* rename test

* review fixes

* rename module

* review fixes

* Trigger Build

* don't load advice classes
2021-03-29 11:35:22 +03:00