Commit Graph

5827 Commits

Author SHA1 Message Date
Lauri Tulmin 819efb573f
Run glassfish tests with headless (#2781) 2021-04-12 15:54:54 -07:00
Trask Stalnaker 117d38a01b
Support URLClassLoader addURL (#2772) 2021-04-12 15:53:44 -07:00
Trask Stalnaker 0f60b44b7c
Avoid proxy IllegalArgumentException: repeated interface (#2773) 2021-04-12 13:59:40 -07:00
Trask Stalnaker b922b3ece9
Remove the netty connection interference test (#2765) 2021-04-12 13:55:00 -07:00
Trask Stalnaker 5719bc30a6
Sync spring-boot-autoconfigure property names with SDK property names (#2770)
* Sync spring-boot-autoconfigure property names

* Change from otel.instrumentation to otel.springboot

* Remove duplicate/outdated doc
2021-04-12 13:21:40 +03:00
Trask Stalnaker 3bc058b10b
Don't create duplicate headers (#2727)
* Test infra

* Update examples

* Update instrumentation

* Update tests

* jaxrs-client fixes

* Remove doRequest/doReusedRequest

* Fix muzzle

* some fixes

* fix test

* doc

* not private

* Apply to doRequestWithCallback also

* Update doc

* groovy

* better

* Don't hardcode traceparent

* Reuse request in SpringRestTemplateTest
2021-04-12 12:21:16 +03:00
Trask Stalnaker 5be065cd31
Switch to grpc-netty-shaded (#2769) 2021-04-11 13:27:37 -07:00
Trask Stalnaker 3dcb29d1ea
Update supported library versions (#2766)
* Update supported library versions

* Lettuce too
2021-04-11 13:04:03 +03:00
Trask Stalnaker b8f50fe922
Add parent dirs for common instrumentations (#2767) 2021-04-10 10:53:56 -07:00
Mateusz Rzeszutek 5c280d4c43
Fix JDBC instrumentation: recursive statements inside Connection#getMetaData (#2756) 2021-04-09 10:46:12 -07:00
Mateusz Rzeszutek b204fcc56e
Bring back Guava to javaagent-tooling (it's actually used here) (#2764) 2021-04-09 16:54:06 +03:00
Lauri Tulmin 773ca35e6a
RocketMQ: wait for message to be consumed (#2759) 2021-04-09 08:30:43 +09:00
Anuraag Agrawal fbba3001ee
Test callbacks for okhttp library instrumentation (#2752) 2021-04-08 14:20:32 -07:00
Lauri Tulmin 75f2e9a4a5
Make dubbo and camel use loopback address (#2753) 2021-04-08 13:16:25 -07:00
Mateusz Rzeszutek 42cf3bc077
Record internal metric for SQL cache misses (#2747)
* Record internal metric for SQL cache misses

And use `SupportabilityMetrics` in `Instrumenter`

* Fix broken shouldStart() logic

* Code review comments
2021-04-08 17:50:48 +02:00
Lauri Tulmin c943c5da93
Sort traces to reduce flakiness (#2754) 2021-04-08 17:49:35 +02:00
Mateusz Rzeszutek c872513896
Remove unused class (#2757) 2021-04-08 17:49:19 +02:00
Anuraag Agrawal a4ea1c9db2
Update to OTel 1.1.0 (#2744)
* Update to OTel 1.1.0

* Use transform safe logger

* Finish

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-04-08 16:01:16 +09:00
Nikita Salnikov-Tarnovski 38e98ebdad
Implement concurrent test for Vert.x http server (#2749)
* Implement concurrent test for Vert.x http server

* Format
2021-04-08 09:27:11 +03:00
Nikita Salnikov-Tarnovski 692bb72f22
Implement concurrent test for Netty http server (#2750) 2021-04-08 08:36:42 +03:00
Lauri Tulmin 443f97486f
Improve akka instrumentation (#2737) 2021-04-07 10:35:41 -07:00
Trask Stalnaker 410957f206
More consistent custom trace sorting in tests (#2728) 2021-04-07 10:29:41 -07:00
Trask Stalnaker 9926288342
Clarify empty type instrumentations (#2740)
* Add comment for EmptyTypeInstrumentation

* Clarify use of empty type instrumentations
2021-04-07 10:03:24 +03:00
Nikita Salnikov-Tarnovski b517c97547
Don't run smoke test during latestDeps (#2743) 2021-04-07 09:35:07 +03:00
Anuraag Agrawal 826d8ac781
Cleanup mongodb tests (#2732)
* Cleanup mongodb tests

* Drift

* Cleanup

* Timeout

* Cleanup
2021-04-07 14:02:56 +09:00
Anuraag Agrawal d8f6018ba6
Split HttpClientTest execution methods for sync and callback (#2675) 2021-04-06 15:26:01 -07:00
Lauri Tulmin d0d4168d62
Exclude our Runnables (#2736) 2021-04-06 14:20:31 -07:00
Trask Stalnaker 3bd46091bc
Clean up request dispatcher instrumentation (#2724) 2021-04-06 13:36:38 -07:00
Trask Stalnaker 5e914c954b
Consolidate duplicate play-ws tests (#2726) 2021-04-06 13:21:21 -07:00
Lauri Tulmin 1486d73dda
Use loopback address for rmi tests (#2738) 2021-04-06 13:21:00 -07:00
Lauri Tulmin a8a443e39d
Increase dubbo timeout (#2735) 2021-04-06 08:46:23 -07:00
Mateusz Rzeszutek 5760cd7313
Fix JMS context propagation problems (#2702) 2021-04-06 08:45:17 -07:00
Trask Stalnaker 53ffe9fbef
Reduce smoke test timeout after split out (#2720) 2021-04-06 16:37:59 +09:00
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