Trask Stalnaker
65995388e6
Clean up Java 7 references ( #2931 )
...
* Clean up Java 7 references
* Use Java 8 stuff!
* Spotless
2021-05-09 14:16:42 +03:00
Lauri Tulmin
6924656a60
Run tests with latest spring data version ( #2927 )
2021-05-07 11:31:30 -07:00
Mateusz Rzeszutek
f2d7e0ed74
Fix compilation failure on main ( #2926 )
...
* Fix compilation failure on main
* Fix muzzle (probably)
* Fix muzzle (probably)
* Fix muzzle (probably)
* Fix muzzle (probably)
* Remove unnecessary dependency
* Revert "Remove unnecessary dependency"
This reverts commit 3fc1e68c99 .
* spotless + random change in javaagent-tooling
2021-05-07 15:54:07 +03:00
Hangzhi
60ee981d07
Prevent http.url containing credentials in HttpClientTracer ( #2707 )
...
* http.url must not contain credentials
* remove user info from url
* Update HttpClientTracerTest.groovy
fix inconsistency in protocol
* fix httpClient and httpServer
* Update HttpServerTracer.java
* Only scrub userinfo if present
Co-authored-by: Anuraag Agrawal <aanuraag@amazon.co.jp>
2021-05-06 23:31:26 -07:00
Mateusz Rzeszutek
9c7fae3b04
Extract javaagent-extension-api from tooling & spi ( #2879 )
2021-05-06 23:30:25 -07:00
Lauri Tulmin
9637d2920e
Fix context leak on jetty ( #2920 )
2021-05-06 12:35:52 -07:00
Lauri Tulmin
30b1f3df3b
Add supported jax-rs and jax-ws frameworks ( #2921 )
2021-05-06 22:19:25 +03:00
Lauri Tulmin
6b687c48ba
Fix enabling gradle configure on demand ( #2916 )
2021-05-06 12:02:14 -07:00
Lauri Tulmin
8dca27868c
Jersey and cxf server span naming ( #2919 )
2021-05-06 11:58:59 -07:00
Jakub Wach
53c38ac8e4
Renamed min java for test property to better reflect its purpose ( #2917 )
2021-05-06 11:51:13 -07:00
Lauri Tulmin
1579d59abd
Copy servlet3 tests to servlet5 ( #2918 )
2021-05-06 11:47:49 -07:00
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