Commit Graph

6222 Commits

Author SHA1 Message Date
Lauri Tulmin 8a6ec1126f
Ratpack tests pass with strick context check (#3259) 2021-06-11 13:42:48 -07:00
Mateusz Rzeszutek 3b09d46950
Introduce IgnoredTypesConfigurer SPI to enable defining per-module ignores (#3219) 2021-06-11 12:41:57 -07:00
Trask Stalnaker f7a24b0e4b
Update asynchttpclient-2.0 to Instrumenter API (#3211)
* Update asynchttpclient-2.0 to Instrumenter API

* Fix play-2.4 tests
2021-06-11 12:41:25 -07:00
Mateusz Rzeszutek cc43cf326d
Internal instrumentations should always be enabled by default (#3257) 2021-06-11 12:16:14 -07:00
Anuraag Agrawal 84cc044ddf
Migrate remaining test client calls to Armeria and remove testing-com… (#3250) 2021-06-11 11:51:23 -07:00
Mateusz Rzeszutek 4c6cfb52ab
Test spring-integration instrumentation with spring-cloud-stream example (#3241) 2021-06-11 11:49:16 -07:00
Nikita Salnikov-Tarnovski aa4f07db6e
Support for multiple extension jars by scanning the given folder (#3226) 2021-06-11 11:32:52 -07:00
Nikita Salnikov-Tarnovski 31d3f2f8de
Update ByteBuddy (#3254)
* Update ByteBuddy

* spotless
2021-06-11 21:12:38 +09:00
Anuraag Agrawal 6733b50a65
Update fake backend proto version to 1.3.0 (#3252) 2021-06-11 17:22:46 +09:00
Mateusz Rzeszutek 50b7a20b39
Fix spring-webflux latestDepTest (#3251) 2021-06-11 11:06:47 +03:00
dependabot[bot] 5fdba59c51
Bump nick-invision/retry from 2.4.0 to 2.4.1 (#3249)
Bumps [nick-invision/retry](https://github.com/nick-invision/retry) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/nick-invision/retry/releases)
- [Changelog](https://github.com/nick-invision/retry/blob/master/.releaserc.js)
- [Commits](https://github.com/nick-invision/retry/compare/v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: nick-invision/retry
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-11 10:26:13 +03:00
Anuraag Agrawal d44cf56636
Remove leftover google.com references. (#3243) 2021-06-11 11:04:41 +09:00
Anuraag Agrawal 60aaff8972
Migrate HttpServerTest to Armeria (#3240)
* Migrate HttpServerTest to Armeria

* Update testing-common/src/main/groovy/io/opentelemetry/instrumentation/test/base/HttpServerTest.groovy

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-06-11 08:56:02 +09:00
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