Commit Graph

5905 Commits

Author SHA1 Message Date
Lauri Tulmin 1fba62807f
Resteasy server span naming (#2900)
* Resteasy server span naming
2021-05-06 15:04:56 +03:00
Lauri Tulmin 357140c081
Server span naming for servlet filters (#2887)
* Server span naming for servlet filters

* wildfly default servlet has empty mappings

* jetty11 requires java11

* try a differnt way to disable jetty11 tests on java8

* Update instrumentation/servlet/servlet-5.0/javaagent/src/test/groovy/TomcatServlet5FilterMappingTest.groovy

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

* review fix

* rework to use InstrumentationContext

* remove debugging code

* move MappingResolver to avoid ClassCastException on wildfly

* Update instrumentation/servlet/servlet-3.0/javaagent/src/test/groovy/TomcatServlet3FilterMappingTest.groovy

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

* review fixes

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-05-06 13:25:17 +03:00
Mateusz Rzeszutek c9a3793bf8
Instrumenter API improvements (#2860)
* Instrumenter API improvements

* Move HTTP & net classes to separate packages
* Remove `db` prefix from method names in `DbAttributesExtractor`
* Add request-only net attributes extractor (it'll be needed in spring-sleuth-otel once we decide to use Instrumenters there)

* One NetAttributesExtractor class, javadocs

* add missing @Nullable

* Apply suggestions from code review

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

* spotless

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-05-06 11:35:38 +02:00
Ago Allikmaa a568daaf0a
Fix Ratpack server context propagation and enable its concurrency test (#2910) 2021-05-05 18:27:50 -07:00
Lauri Tulmin 5670024178
Enable exception tests on vert.x (#2914) 2021-05-05 18:27:15 -07:00
Nikita Salnikov-Tarnovski 9e9fe118fb
Update NamingConvention.java (#2913)
Improved wording.
2021-05-05 09:42:04 -07:00
Ago Allikmaa 2ded2e478f
Enable concurrency tests for Play server (#2911) 2021-05-05 09:41:28 -07:00
Mateusz Rzeszutek e00341729f
Use Instrumenter in JMS instrumentation (#2803)
* Use Instrumenter in JMS instrumentation

And introduce messaging semantic conventions

* Code review comments

* Use Instrumenter in JMS instrumentation - code review comments

* remove useless test

* fix missing instrumentation version

* Code review comments

* Do not allow conditional delegation to SDK
2021-05-05 10:35:39 +03:00
Trask Stalnaker 690e3bdd16
Remove outdated muzzle condition (#2906)
* Remove outdated muzzle condition

* Remove outdated test
2021-05-05 10:33:28 +03:00
Ago Allikmaa 70c164216d
Enable JAX-RS server concurrency tests (#2907) 2021-05-05 10:32:19 +03:00
Ago Allikmaa 109318b404
Implement concurrency test for Async Servlets (#2899) 2021-05-04 12:54:20 +03:00
Nikita Salnikov-Tarnovski 655eb2ed26
Limit latest version for Reactor Netty test (#2898) 2021-05-03 11:43:40 +03:00
Mateusz Rzeszutek 56d7fd3516
Expose correct Context.current() in reactive-netty callbacks (#2850) 2021-04-29 12:29:36 -07:00
Lauri Tulmin 0c7a20d3fd
Fix ratpack latest dep test (#2888) 2021-04-29 12:48:18 +02:00
Lauri Tulmin beae3276df
Fix flaky smoke tests (#2849)
* Enable debug logging for smoke tests

* trigger rerunning of smoke tests

* trigger rerunning of smoke tests

* pass agent in JVM_ARGS instead of JAVA_TOOL_OPTIONS on glassfish

* spotless

* remvove debugging code

* update windows image versions

* Ensure java.lang.reflect.Proxy is loaded before bytebuddy transformer is set up

* update windows image version

* Update javaagent-tooling/src/main/java/io/opentelemetry/javaagent/tooling/AgentInstaller.java

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-04-29 12:47:42 +02:00
Mateusz Rzeszutek e4133f1845
Muzzle should check whether used fields are declared somewhere (#2870) 2021-04-28 10:01:21 -07:00
Mateusz Rzeszutek 5810e4c0b5
Fix merge conflict on the main branch (#2882) 2021-04-28 18:39:50 +02:00
HaloFour 5c15f5e29f
Async @WithSpan Instrumentation for Guava ListenableFuture (#2811)
* Add Guava instrumentation library with AsyncSpanEndStrategy

* Enable span strategy in advice

* Spotless

* Nix attempt at typeInitializer advice, leave TODO comment to revisit

* Move async span strategy registration to helper class

* Remove use of sameThreadExecutor

* Make helper class final and add comment about relying on static initializer
2021-04-28 14:38:19 +02:00
Lauri Tulmin 7c517035c0
Fix payara windows image (#2880) 2021-04-28 13:26:26 +03:00
Anuraag Agrawal a66a13f938
Only reset server context if there is a leak. (#2876)
* Only reset server context if there is a leak.

* Spot
2021-04-28 15:35:49 +09:00
Mateusz Rzeszutek 169f99554d
Minor improvement in the writing-instrumentation-module.md doc (#2871) 2021-04-27 13:04:18 -07:00
Mateusz Rzeszutek 77f8be8add
Fix netty 4.1 instrumentation not removing future listeners (#2851)
* Fix netty 4.1 instrumentation not removing future listeners

* Code review follow-up

* Use InstrumentationContext
2021-04-27 11:22:52 +03:00
Lauri Tulmin 2df0bb4b51
Pass jvm arguments from env var on windows payara (#2874)
* Pass jvm arguments from env var on windows payara

* enable more debug logging

* capture test output

* use the same fake backend as regular smoke test
2021-04-27 11:22:19 +03:00
Lauri Tulmin b1b5b143ca
Fix resteasy latest dep tests (#2869) 2021-04-27 11:16:00 +03:00
YuDong Tang 334c6ec0b5
fix db.operation in semantic-conventions.md (#2858) 2021-04-23 17:52:04 -07:00
Trask Stalnaker 2ab92f556e
Fix duplicate http client tracing headers (#2842)
* Fix duplicate spring webclient tracing headers

* Fix Akka Http

* Fix Armeria

* Fix Java 11 Http Client

* Fix OkHttp 2.2

* Fix PlayWS
2021-04-23 13:05:10 -07:00
Anuraag Agrawal 741074432d
Raise lambda flush timeout to 10 seconds (#2855) 2021-04-23 11:22:07 -07:00
Trask Stalnaker 7381304e06
Rename java http client module (#2856) 2021-04-23 11:20:42 -07:00
Trask Stalnaker c46221e506
Fix grails latest dep test (#2857) 2021-04-23 11:20:36 -07:00
Lauri Tulmin bd02b0ce76
Log the whole exception when transformation fails (#2852) 2021-04-23 10:36:13 +09:00
Trask Stalnaker 1824e36b96
Better server span name for Grails and Wicket (#2814) 2021-04-22 14:16:54 -07:00
Trask Stalnaker eadb07fd48
Fix jaxrs jersey latest dep version (#2843)
* Fix jaxrs jersey latest dep version

* Clean up dependencies
2021-04-22 14:06:41 -07:00
Lauri Tulmin 2f6ae9f37b
Fix jaxrs cxf latest dep tests (#2844) 2021-04-22 13:17:36 -07:00
Trask Stalnaker e54eb2ca03
Add doc how to run smoke tests (#2840) 2021-04-22 11:37:18 -07:00
Trask Stalnaker 46c1212236
Remove forward and include spans (#2816) 2021-04-22 11:36:53 -07:00
Trask Stalnaker be85275295
Add new approver @laurit (#2839) 2021-04-22 08:59:18 -07:00
Lauri Tulmin a04ca47d60
Prevent AgentClassLoader from loading ContextStorageOverride (#2847) 2021-04-22 16:25:35 +02:00
Lauri Tulmin ba9cd88775
Akka: shut down executor when test is done (#2845) 2021-04-22 16:25:29 +02:00
Lauri Tulmin c8af5f6e1e
Add missing Uroll annotations (#2848) 2021-04-22 16:25:22 +02:00
Trask Stalnaker 49cdcada88
Bump OTel API version in spring boot starter docs (#2833) 2021-04-21 21:18:41 -07:00
Lauri Tulmin 9f8371e77c
Use locale insensitive lower/upper case conversion (#2838) 2021-04-22 11:24:13 +09:00
Pavol Loffay ce5355c211
Move install component before BB to install method (#2821) 2021-04-21 15:05:07 -07:00
Lauri Tulmin 3cb210a673
Fix rxjava2 NoSuchFieldError (#2836) 2021-04-21 14:00:39 -07:00
Jakub Wach f956a58c0a
resolved TODO - instrumentation names in suppressing doc (#2755)
* resolved TODO - instrumentation names in suppressing doc

* changed to include only unversioned names

* Update docs/suppressing-instrumentation.md

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

* Added lib name to table

* Update docs/suppressing-instrumentation.md

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

* review changes

* review changes

* Update docs/suppressing-instrumentation.md

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

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-04-21 13:26:13 -07:00
Trask Stalnaker dc9aa4e438
Introducing change log (#2768)
* Add CHANGELOG.md

* Trim down tooling list

* Move breaking changes to the top

* Trim down tooling section
2021-04-21 13:24:33 -07:00
Trask Stalnaker a15315f22a
Fix gradle version ranges (#2834) 2021-04-21 09:14:37 -07:00
Trask Stalnaker 8380b41429
Move eclipse-osgi instrumentation to internal (#2832) 2021-04-21 09:14:21 -07:00
Trask Stalnaker 3bdf4399e9
Rename jaxrs-client resteasy module (#2827) 2021-04-21 09:13:54 -07:00
Lauri Tulmin a3c0b44b31
JAX-RS ApplicationPath annotation (#2824) 2021-04-21 09:07:54 -07:00
Lauri Tulmin c4071c1c94
Add Unroll annotation (#2825) 2021-04-20 12:43:23 -07:00