Anuraag Agrawal
b5f949afb2
Use testcontainers for ES rest tests and some other ES dependency cleanup ( #3119 )
2021-05-28 15:55:13 -07:00
Lauri Tulmin
32e28c1b1e
Propagate context to armeria callbacks ( #3108 )
2021-05-28 15:01:31 -07:00
Lauri Tulmin
e16cf3001f
Add attributes to netty connection failure span ( #3115 )
2021-05-28 15:01:10 -07:00
Anuraag Agrawal
ed88cca533
Migrate from spotbugs to errorprone ( #3122 )
...
* Migrate from spotbugs to errorprone
* Fix hashtable
* try-with-resources
* Fix from merge
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-05-28 14:23:40 -07:00
Lauri Tulmin
35d6bdb730
Hibernate query span naming ( #3106 )
...
* Hibernate query span naming
* remove commented out code
* modify query sanitizer to accept queries that start with from clause
* add sql sanitizer test for queries starting with from
* rename hibernate-4.3 to hibernate-procedure-call-4.3
2021-05-28 11:31:52 -07:00
Anuraag Agrawal
9a05c1a0fd
Use gradle-nullaway-plugin for nullaway. ( #3117 )
2021-05-28 14:25:49 +09:00
Anuraag Agrawal
796976a0f1
Workaround glassfish resolution error. ( #3116 )
2021-05-28 11:56:34 +09:00
Anuraag Agrawal
c358a35414
Use dependency management pattern for dependency versions ( #3113 )
...
* Use dependency management pattern for dependency versions.
* Add groovy bom too
* Update dependencyManagement/dependencyManagement.gradle.kts
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-05-28 11:32:08 +09:00
Trask Stalnaker
98b566959a
Make TypeInstrumentations top-level classes ( #3100 )
2021-05-27 13:27:28 -07:00
Lauri Tulmin
6706dbfe53
Change smoketests to use testcontainers httpclient5 transport ( #3112 )
...
* Change smoketest to use testcontainers httpclient5 transport
* Update smoke-tests/src/test/resources/testcontainers.properties
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-05-27 12:40:52 -07:00
Ago Allikmaa
165bc1e492
Akka propagation fix and concurrency tests ( #3099 )
2021-05-27 09:43:09 -07:00
Lauri Tulmin
79e42ad665
Remove unused plugin ( #3107 )
2021-05-27 09:38:58 -07:00
Trask Stalnaker
ceb0ce9b35
Publish snapshot on every merge to main ( #3097 )
2021-05-27 09:38:13 -07:00
Lauri Tulmin
c49a0bb114
Limit latest dep version for glassfish test ( #3109 )
2021-05-27 21:31:45 +09:00
Lauri Tulmin
6d26321d75
Fix redisson latest dep test ( #3110 )
2021-05-27 21:29:57 +09:00
Ago Allikmaa
df078f95a9
Extract HttpServerTest INDEXED_CHILD span attribute collection logic ( #3095 )
...
* Extrawct HttpServerTest INDEXED_CHILD span attribute collection logic
* Adjust whitespace
* Fix context issue with JAX-RS
* Rerun tests
2021-05-27 11:18:11 +03:00
Anuraag Agrawal
acedbff78d
Migrate gRPC to Instrumenter API ( #3073 )
...
* Migrate gRPC to Instrumenter API
* Don't unwrap grpc exception
* Fix merge and cleanup
2021-05-27 15:40:53 +09:00
Trask Stalnaker
df0d028a32
Remove db.connection_string from redis instrumentation ( #3094 )
2021-05-26 23:13:55 -07:00
Trask Stalnaker
c8ecd9a619
Add response type parameter to db attributes extractor ( #3093 )
...
* Add response type parameter to DbAttributesExtractor
* AutoValue
* ResultSet
2021-05-26 23:13:33 -07:00
Ago Allikmaa
0a34b2b056
Enable Spring WebFlux concurrency tests ( #3077 )
...
* Enable Spring WebFlux concurrency tests
* Fix Spring WebFlux test application scan scope
* codenarc fix
* Renamed package server.http to server.base
* Addressed PR comments
2021-05-26 08:29:46 -07:00
Lauri Tulmin
38830ea06e
Fix JdbcInstrumentationTest ( #3089 )
2021-05-26 08:25:20 -07:00
Anuraag Agrawal
c1452b907d
Fix merge conflict ( #3086 )
2021-05-26 18:28:36 +09:00
Anuraag Agrawal
761c739f7f
Remove redundant buildscript block ( #3083 )
2021-05-26 13:50:44 +09:00
dengliming
8ee085fda4
Update redisson-3.0 to Instrumenter API ( #3069 )
...
* Update redisson-3.0 to Instrumenter API
Signed-off-by: dengliming <liming.d.pro@gmail.com>
2021-05-25 21:49:00 -07:00
Trask Stalnaker
a6c3d80b50
Update cassandra-3.0 to Instrumenter API ( #3066 )
2021-05-25 21:45:03 -07:00
Ago Allikmaa
fd132d463d
Change Async Servlet span end logic to fix race condition on Undertow ( #2992 )
...
* Attach servlet async listener with asyncStart instrumentation
* Exclude Spring packages containing servlet request classes from global ignores
* Exclude Tapestry HSR proxy with global ignore
* Improve comments.
* Fix for Liberty - request response when adding async listener
* Removed unused methods
* Explicit response to async listeners on all servlet engines
* Attach response to request on Jetty
* Fix broken build due to rebase, improved a comment
* Address PR comments
* Added a comment.
* Addressed PR comments
2021-05-25 20:46:37 -07:00
Anuraag Agrawal
5f373b3062
Configure kotlin directly in only project that uses it and enable testLatestDeps ( #3081 )
2021-05-26 09:58:52 +09:00
Mateusz Rzeszutek
d755654c29
[WIP] Add peer.service to Instrumenter API ( #3050 )
...
* [WIP] Add peer.service to Instrumenter API
* Move PeerServiceAttributesExtractor to javaagent-api and use reflection to add it
* Finish PeerServiceAttributesExtractor
* Fix tests
* Add peer.service to apache-httpclient-5.0, jedis-1.4, lettuce-4.0
2021-05-25 15:31:41 +02:00
Nikita Salnikov-Tarnovski
3cfd58c268
Extensions example ( #3071 )
...
* Simplify extensions example project
* Add external dependency and fat jar support
* spotless
* Apply suggestions from code review
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* Apply suggestions from code review
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-05-25 14:57:43 +03:00
Lauri Tulmin
313f8e1fb8
Fix memory leak on netty ( #3059 )
2021-05-24 20:32:19 -07:00
Trask Stalnaker
b4cab9ba36
Update jedis-1.4 to Instrumenter API ( #3064 )
2021-05-24 12:22:03 -07:00
Ago Allikmaa
c28af1f50e
Vert.x Reactive HTTP server and client concurrency tests ( #3061 )
...
* Vert.x Reactive HTTP server and client concurrency tests
* Concurrency test for VertxReactivePropagationTest
2021-05-24 12:01:05 -07:00
Trask Stalnaker
2943acc39a
Update apache-httpclient-5.0 to Instrumenter API ( #3062 )
2021-05-24 10:17:55 -07:00
Trask Stalnaker
e7ef5ba927
Update lettuce-4.0 to Instrumenter API ( #3068 )
2021-05-24 09:25:56 -07:00
Trask Stalnaker
f0e43c9e72
Update geode to Instrumenter API ( #3067 )
2021-05-24 09:25:21 -07:00
Trask Stalnaker
1583683aec
Add Nullable to Instrumenter API response args ( #3041 )
2021-05-24 09:14:48 -07:00
Mateusz Rzeszutek
6fb3ec0501
Do not use arrays in InstrumentationModule ( #3057 )
...
* Do not use arrays in InstrumentationModule
* add missing cast
2021-05-24 13:51:07 +02:00
Michael Bannister
d1b9413d88
Use configured NetPeerAttributes in OkHttp3 client tracer ( #3063 )
...
This will make it notice the peer-service-mapping settings to set peer.service span attribute
I know this approach is deprecated but I hope to follow this up with another change to use the
new Instrumenter API.
#3009
2021-05-23 09:29:18 +03:00
Trask Stalnaker
f11bd75710
Don't use singleton for propagator getters/setters ( #3054 )
2021-05-21 11:48:54 -07:00
Lauri Tulmin
ccda31ab50
Fix spring webmvc and webflux latest dep failure ( #3060 )
2021-05-21 11:15:55 -07:00
Trask Stalnaker
bdfd22f8a3
Update Apache HttpClient 4.0 to Instrumenter API ( #3042 )
...
* Update Apache HttpClient 4.0 to Instrumenter API
* Update instrumentation/apache-httpclient/apache-httpclient-4.0/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/apachehttpclient/v4_0/ApacheHttpClientHttpAttributesExtractor.java
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-05-20 15:54:22 -07:00
Ago Allikmaa
b8a8db49c0
RxJava concurrency test ( #3036 )
2021-05-20 14:34:08 -07:00
Mateusz Rzeszutek
272419a6f3
Refactor muzzle Reference class ( #3040 )
...
* split out inner classes into separate files
* and since they're public API I made them a little bit better: added javadocs, renamed classes/methods
Getting the `...extension.muzzle` package stable is the first step to extracting the muzzle compile time plugin - the plugin may have a bit different release lifecycle than the main project and getting those classes stable will help a lot with eliminating breaking changes.
2021-05-20 14:33:43 -07:00
Trask Stalnaker
329233e576
Change a couple of Longs to Integers in Instrumenter API ( #3043 )
2021-05-20 14:33:22 -07:00
Lauri Tulmin
119697b131
Share some code between netty 4.0 and 4.1 instrumentation ( #3048 )
2021-05-20 14:32:37 -07:00
Lauri Tulmin
1313abe5cd
Fix flaky spring batch test ( #3051 )
...
* Fix flaky spring batch test
* Update instrumentation/spring/spring-batch-3.0/javaagent/src/test/groovy/ItemLevelSpanTest.groovy
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-05-20 14:31:27 -07:00
Trask Stalnaker
b436611217
Exclude failing netty dep from netty-3.8 also ( #3045 )
2021-05-20 14:30:04 -07:00
Trask Stalnaker
6efae9ad28
Remove duplicate method ( #3032 )
2021-05-19 11:56:34 -07:00
Lauri Tulmin
23a40d926c
Netty4.1: remove our handler when original handler is removed ( #3026 )
...
* Netty4.1: remove our handler when orignal handler is removed
* Update instrumentation/netty/netty-4.1/javaagent/src/test/groovy/ChannelPipelineTest.groovy
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
* disable epoll to see whether it makes any difference
* fix netty with epoll/kqueue native library
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-05-19 10:01:56 -07:00
Nikita Salnikov-Tarnovski
51b2f31c3c
Fix broken link ( #3034 )
...
* Fix broken link
* Update examples/distro/README.md
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-05-19 09:54:35 -07:00