Commit Graph

6159 Commits

Author SHA1 Message Date
Anuraag Agrawal d79fb8cc84
Use local server to test HTTPS instead of google.com (#3236) 2021-06-11 08:04:17 +09:00
Lauri Tulmin 52b23d116e
Add connection timeout for forked ratpack http client (#3239) 2021-06-10 08:44:36 -07:00
Lauri Tulmin e93ff4d419
Remove references to dropped request test (#3238) 2021-06-10 16:21:11 +03:00
Mateusz Rzeszutek 1cc893b009
Spring Integration library instrumentation (#3120)
* Spring Integration library instrumentation

* testLatestDeps

* attributesExtractor

* errorprone

* Code review comments

* rename package messaging -> integration

* move package in groovy files too

* thread local map

* Revert "thread local map"

This reverts commit 7c8d614f4c.

* Always extract parent SpanContext from the incoming message

* checkstyle

* codenarc
2021-06-10 14:51:32 +02:00
Lauri Tulmin 55c7631aba
Fix typo in rocketmq test package name (#3232) 2021-06-10 11:01:46 +03:00
Anuraag Agrawal 8a6305c8c0
Remove test for dropped request to google.com (#3234) 2021-06-10 16:31:41 +09:00
Anuraag Agrawal f91e35616f
Migrate remaining usages of TestHttpServer to Armeria. (#3231)
* Migrate remaining usages of TestHttpServer to Armeria.

* Remove unused.

* Shade netty tcnative to allow TLS on Java 8
2021-06-10 09:28:44 +09:00
Lauri Tulmin f51bace1eb
Netty connection failure span only when first operation fails (#3228) 2021-06-09 17:24:02 +09:00
Anuraag Agrawal 7ae23fc694
Migrate HttpClientTest test server to Armeria (#3225)
* Use Armeria for test HTTP server.

* Continue

* Migrate test http server to Armeria.

* Finish

* Use junit extension

* Remove unused.

* Use localhost for net peer name.

* Block for full response in recator-netty tests.

* Handle split responses in netty41 and akka

* Typo
2021-06-09 15:05:58 +09:00
Trask Stalnaker 70c8a0c5e2
Fix testLatestDeps (#3223) 2021-06-08 14:55:39 +03:00
Anuraag Agrawal d94a92c4ab
Use Ratpack core API for test server. (#3215)
* Use Ratpack core API for test server.

* Fix async path param test

* Spotless
2021-06-08 11:39:20 +09:00
Anuraag Agrawal 1b63e3265f
Always include server span in HTTP client tests. (#3214)
* Always include server span in HTTP client tests.

* Scrub
2021-06-08 11:39:06 +09:00
Anuraag Agrawal 86ace9dcb4
Cancel in-progress PR builds when new commit is pushed. (#3217)
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-06-08 08:20:15 +09:00
Trask Stalnaker 097ce893d3
Pre- update apache-httpasyncclient-4.1 to Instrumenter API (#3209) 2021-06-07 15:30:01 -07:00
Trask Stalnaker 59abf0380f
Remove last muzzleCheck methods (#3208) 2021-06-07 15:29:39 -07:00
Trask Stalnaker e9c3df6dac
Static factory method ordering (#3206) 2021-06-07 15:29:30 -07:00
Ago Allikmaa b277fd96c5
JAX-RS RestEasy single connection test, comment on others where not applicable (#3187) 2021-06-07 12:31:28 -07:00
Lauri Tulmin d4e64990fc
Add http client concurrency test with callback (#3192)
* Add http client concurreny test with callback

* Unwrap subscriber for needs executor tests
2021-06-07 12:29:08 -07:00
Jakub Wach b9e856b4bf
small fix - proper log4j MDC test pattern (#3218) 2021-06-07 12:28:36 -07:00
Lauri Tulmin 6d24c765b6
Fix reactor netty latest dep test (#3205) 2021-06-07 12:01:45 -07:00
Lauri Tulmin 858eb69abe
Add toString for AgentContextWrapper (#3193) 2021-06-07 11:47:03 -07:00
Trask Stalnaker a78ed4c420
Rename some extractor request/response params (#3202) 2021-06-07 11:41:47 -07:00
Mateusz Rzeszutek 99be242e22
Rename ComponentInstaller to AgentListener and add #order() method (#3182)
* Rename ComponentInstaller to AgentListener and add #order() method

* Code review comments

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

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>

Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
2021-06-07 19:50:19 +02:00
Nikita Salnikov-Tarnovski 10150a9330
Fix repository location for Grails (#3216) 2021-06-07 12:09:52 +03:00
Trask Stalnaker d8ea53d431
Remove last advice class refs (#3203)
* Remove last advice class refs

* Two more
2021-06-07 10:56:14 +03:00
Trask Stalnaker ac30b3c185
Add SuppressWarnings("unused") on Advice classes (#3207)
* Add SuppressWarnings unused on Advice classes

* And in doc
2021-06-07 16:00:21 +09:00
Trask Stalnaker f9dcd03b4b
Rename unused try-with-resources scope variables (#3201) 2021-06-07 11:41:50 +09:00
Trask Stalnaker cefaecab3f
Use more efficient namedOneOf where possible (#3200)
* Use more efficient namedOneOf where possible

* Fix - hasClassesNamed does and not or
2021-06-07 11:41:34 +09:00
Trask Stalnaker 5faa39b597
Fix couchbase-3.1 latest dependency test (#3198) 2021-06-06 01:15:08 +03:00
Lauri Tulmin 2871b5ddcf
Couchbase 3.1.6 (#3194) 2021-06-05 11:23:41 -07:00
Trask Stalnaker de2bdb80b4
Fix netty muzzle (#3191) 2021-06-04 11:00:01 -07:00
Trask Stalnaker b3af4ee205
Remove load-generator module (#3177) 2021-06-04 13:54:14 +09:00
Anuraag Agrawal 2436499a09
Update to Errorprone 2.7 (#3181)
* Update to errorprone 2.7

* ToString

* Finish
2021-06-04 10:40:55 +09:00
Anuraag Agrawal c8dc9d52a6
Move app servers to runtime dependencies. (#3178)
* Move app servers to runtime dependencies.

* Add CDI API
2021-06-04 10:01:43 +09:00
Mateusz Rzeszutek b8aec6a671
Remove no longer needed NameMatchers class (#3179) 2021-06-03 14:36:36 -07:00
Mateusz Rzeszutek f8a2ebd32b
Use slf4j placeholders instead of manually joining log messages (#3180) 2021-06-03 14:36:21 -07:00
Lauri Tulmin a48499deaf
Split akka actor instumentation (#3173) 2021-06-03 14:15:08 -07:00
Trask Stalnaker 9a3c657291
Add library instrumentation docs (#3176) 2021-06-03 14:14:37 -07:00
HaloFour 7ef31a0169
Inject ObjectProvider into BeanPostProcessors to avoid premature initialization of OpenTelemetry (#3171) 2021-06-03 14:14:17 -07:00
HaloFour 7c3c8883a8
End span with attribute on cancellation of Guava future (#3175) 2021-06-03 14:13:56 -07:00
Trask Stalnaker 935eeae544
Update folder structure (#3174)
* Update apache-dubbo-2.7 folder structure

* Update logback-1.0 folder structure
2021-06-02 23:46:52 -07:00
Mateusz Rzeszutek 5e4c5684e6
Moved jdbc-datasource instrumentation to Instrumenter API (#3160) 2021-06-02 23:45:11 -07:00
Anuraag Agrawal 0ad8c1b8ce
Manage Netty transitive dependencies (#3165)
* Manage transitive Netty versions.

* Finish

* .each to not apply resolutions to muzzle

* Exclude epoll from finatra muzzle
2021-06-03 13:12:32 +09:00
Anuraag Agrawal 860ff84768
Don't change snapshot version setting and use shared repository decla… (#3084)
* Don't change snapshot version setting and use shared repository declaration

* Override repositories declaration with full declaration

* MavenCentral to muzzle
2021-06-03 11:31:57 +09:00
HaloFour 1402d11592
End span on cancellation of subscription to reactive publishers (#3153)
* Stop span on cancellation of subscription to reactive publisher

* Add semantic attribute on cancelation of reactive publisher

* Change TracingOperator and TracingAssembly to accept configuration from Javaagent
2021-06-02 19:18:40 -07:00
Mateusz Rzeszutek e1762677da
Refactor HttpClientTest (#3159)
* Remove unused extraClientSpans() method
* Merge extraAttributes() and hasClientSpanHttpAttributes(uri) into
httpAttributes(uri): this will allow to choose extracted attributes
per URI (for example, OkHttp won't set flavor on connection exception
once it's rewritten to Instrumenter)
2021-06-03 10:54:01 +09:00
Anuraag Agrawal ef014e0a4b
Manage transitive commons- dependencies. (#3158) 2021-06-03 08:54:34 +09:00
Anuraag Agrawal 53cfd73bb3
Enable excluding muzzle dependencies and exclude netty-tcnative (#3169)
Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-06-02 09:42:56 -04:00
Ago Allikmaa 92c27e9e98
Concurrency tests for Reactor (#3154)
* Concurrency tests for Reactor

* Fix test variable naming
2021-06-02 14:29:05 +03:00
Anuraag Agrawal 698faac39d
Run gRPC tests with Netty instrumentation (#3166) 2021-06-02 18:40:12 +09:00