Commit Graph

1624 Commits

Author SHA1 Message Date
Mateusz Rzeszutek cd119f491d
Trace DNS resolution in reactor-netty (#4627)
* Trace DNS resolution in reactor-netty

* Code review comments

* removed a little too much

* implementation -> api

* revert and make muzzle happy
2021-11-16 08:34:27 +01:00
Anuraag Agrawal 39964b39aa
Copy in protobuf conventions from SDK repo. (#4643)
* Copy in protobuf conventions from SDK repo.

* fix

* Spot
2021-11-16 13:42:06 +09:00
Lauri Tulmin 35a1aa7da2
Fix memory leak when using ktor-client-java (#4637) 2021-11-15 16:09:02 -08:00
Mateusz Rzeszutek 3a229c8436
Fix muzzle problems happening when netty without SSL is used (#4631) 2021-11-12 09:54:52 +01:00
Lauri Tulmin d53c276b96
Ensure that netty 4.0 instrumentation is not applied to 4.1 (#4626)
* Enusre that netty 4.0 instrumentation is not applied to 4.1

* formatting

* cross test netty instrumentation
2021-11-11 08:38:56 -08:00
Lauri Tulmin 90e2a8c325
Hopefully fix flaky ratpack test (#4632) 2021-11-11 08:35:36 -08:00
jason plumb 5cbd09e4da
fix incorrect delegate method (#4630)
* fix incorrect delegate method

* add version test
2021-11-11 07:21:04 +01:00
Mateusz Rzeszutek 4719e4cc79
Trace SSL handshakes in netty 4.1 (#4604)
* Trace SSL handshakes in netty 4.1

* Update testing-common/src/main/java/io/opentelemetry/instrumentation/testing/junit/http/HttpClientTestServer.java

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

* remove unneeded bit of code

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-10 13:43:59 -08:00
Lauri Tulmin 4e39f1ad5a
Add smoke test for websphere, update smoke test server versions (#4613)
* Add smoke test for websphere, update smoke test server versions

* update workflows

* fix workflow

* Apply suggestions from code review

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

* revert accidental change

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-10 13:43:30 -08:00
Lauri Tulmin 625febaeb4
Sql sanitizer: sanitize double quoted strings only in couchbase queries (#4615)
* Sql sanitizer: sanitize double quotes strings only in couchbase queries

* remove unused method

* use AutoValue
2021-11-10 13:43:03 -08:00
Lauri Tulmin 16728e2445
Add a ClassAndMethod class to Instrumentation API (#4619)
* Add a ClassAndMethod class to Instrumentation API

* remove sentence

* Update docs/contributing/writing-instrumentation.md

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

* address review comment

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-10 13:33:11 -08:00
Lauri Tulmin 4c39b212da
Fix rabbitmq latest dep test (#4623) 2021-11-10 12:40:33 -08:00
Anna Nosek 8b7c097912
Restlet 2.0 instrumentation (#4535)
* add restlet 2.0 instrumentation

* add restlet 2.0 instrumentation

* revies: testLibrary, create RestletInstrumenterFactory
2021-11-09 11:52:04 -08:00
Nikita Salnikov-Tarnovski e7b8cca107
Convert TextMapSetters and TextMapGetters to enums (#4522)
* Convert TextMapSetters to enums

* Convert TextMapGetters to enums
2021-11-08 22:01:40 +02:00
Trask Stalnaker 1cddc96c8d
Spring Integration interceptor ordering (#4602) 2021-11-08 21:59:44 +02:00
Lauri Tulmin 300a982ac9
Remove unused method argument (#4608) 2021-11-08 21:58:12 +02:00
Lauri Tulmin 38c2efe53e
Use @Advice.Origin to capture method name instead of method (#4609) 2021-11-08 21:57:19 +02:00
Trask Stalnaker 8b15b483b8
Update spring-integration instrumentation name (#4601) 2021-11-08 08:47:09 -08:00
jack-berg 2f47e8a3d3
Update garbage collector instruments to be async counters (#4600) 2021-11-05 13:16:32 -07:00
Mateusz Rzeszutek 958f1c039c
Trace DNS resolution in Netty 4.1 (#4587)
* Trace DNS resolution in Netty 4.1

* Fix reactor-netty 0.9 tests

* Update instrumentation/netty/netty-4.1/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/netty/v4_1/client/InstrumentedAddressResolverGroup.java

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

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-05 11:37:54 -07:00
Lauri Tulmin 123de52170
Convert vaadin instrumentation to instrumenter api (#4588)
* Convert vaadin instrumentation to instrumenter api

* address review comments
2021-11-04 12:00:14 -07:00
Mateusz Rzeszutek f3cbf25a89
Migrate opentelemetry-api testing module to Instrumenter API (#4580) 2021-11-04 10:23:51 -07:00
Mateusz Rzeszutek a9ed1ae030
Migrate RMI instrumentation to Instrumenter API (#4579) 2021-11-04 08:54:34 -07:00
Lauri Tulmin 40ef4beb03
Rmi instrumentation on jdk17 (#4577)
* Rmi instrumentation on jdk17

* address review comment, make muzzle happy

* Update instrumentation/rmi/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/rmi/context/jpms/ExposeRmiModuleInstrumentation.java

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

* review comment

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-03 14:23:01 -07:00
Mateusz Rzeszutek e5f601bea8
Migrate external-annotations instrumentation to Instrumenter API (#4578) 2021-11-03 14:05:03 -07:00
Mateusz Rzeszutek 8f73c43866
Consistently set http.scheme in all netty instrumentations (#4576) 2021-11-03 09:51:11 -07:00
Lauri Tulmin bc7b125718
Fix IndexOutOfBounds in apache http clients (#4575)
* Fix IndexOutOfBounds in apache http clients

* aws test has an extra span now that http client instrumentation doesn't fail with execption
2021-11-03 09:36:41 -07:00
Lauri Tulmin 077dac8c5f
Enable ignored aws tests (#4569)
* Enable ignored aws tests

* remove unused import
2021-11-02 14:25:45 -07:00
Lauri Tulmin 24f01c6b5c
Fix jeddis muzzle failure (#4570) 2021-11-02 20:33:18 +02:00
Lauri Tulmin 73a28dadb4
Fail tests on muzzle failre (#4545) 2021-11-02 16:06:34 +02:00
Lauri Tulmin 609795184f
Jedis 4 instrumentation (#4555) 2021-11-01 17:54:53 -07:00
Lauri Tulmin 0f01bbbb18
Remove hibernate session spans (#4538) 2021-10-29 11:08:33 -07:00
Trask Stalnaker 81cb8e61db
More metrics (#4541) 2021-10-29 10:17:35 +03:00
Lauri Tulmin c109773f17
Test modular jdk (#4501)
* Test modular jdk

* review comment
2021-10-28 10:54:00 -07:00
Lauri Tulmin e31439ee0d
Fix context propagation in tomcat thread pool (#4521) 2021-10-27 16:52:55 -07:00
Mateusz Rzeszutek bdb3511362
Migrate vertx HTTP client to Instrumenter API (#4510)
* Migrate vertx HTTP client to Instrumenter API

* Fix vertx-reactive tests

* Code review comments
2021-10-27 16:39:10 -07:00
Nikita Salnikov-Tarnovski 41b5bf999a
Prevent NPE (#4527) 2021-10-27 12:54:18 -07:00
Mateusz Rzeszutek 270c4b4e12
Migrate Spring Webflux HTTP client instrumentation to Instrumenter API (#4517)
* Migrate Spring Webflux HTTP client instrumentation to Instrumenter API

* Update instrumentation/spring/spring-webflux-5.0/library/src/main/java/io/opentelemetry/instrumentation/spring/webflux/client/SpringWebfluxHttpAttributesExtractor.java

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-10-27 12:52:02 -07:00
Nikita Salnikov-Tarnovski 458ff3e4d7
Convert RabbitMQ to Instrumenter (#4463)
* Convert RabbitMQ to Instrumenter

* Polish
2021-10-26 18:14:19 -07:00
Mateusz Rzeszutek e9ba87d6b3
Migrate Netty 3.8 CONNECT instrumentation to Instrumenter API (#4492)
* Migrate Netty 3.8 CONNECT instrumentation to Instrumenter API

* Move shouldStart()
2021-10-26 17:28:31 +02:00
Mateusz Rzeszutek a4947bc3dc
Migrate Finatra instrumentation to Instrumenter API (#4495) 2021-10-26 16:50:50 +03:00
Nikita Salnikov-Tarnovski 6bbc10a4aa
Convert RocketMQ to Instrumenter (#4457)
* Convert RocketMqProducerTracer to Instrumenter

* Convert RocketMqConsumerTracer to Instrumenter

* Use semantic constants

* Renames

* Add shouldStart checks

* Replace unused parameter with Void
2021-10-26 16:48:39 +03:00
Lauri Tulmin 00643724d1
Increase wait timeout in lettuce tests (#4506) 2021-10-26 15:18:08 +03:00
Nikita Salnikov-Tarnovski ad4f973da4
Don't use deprecated class in Grizzly instrumentation (#4485) 2021-10-25 20:51:39 -07:00
Lauri Tulmin c35cc03fc3
Fix running hibernate tests from intellij (#4498) 2021-10-25 20:39:37 -07:00
Lauri Tulmin 44cec73cec
Fix flaky okhttp read timeout tests (#4499) 2021-10-25 13:45:21 -07:00
Nikita Salnikov-Tarnovski e19d086d58
Migrate ResponseSendAdvice to Instrumenter (#4488)
* Migrate ResponseSendAdvice to Instrumenter

* Add shouldStart checks
2021-10-25 13:44:26 -07:00
Mateusz Rzeszutek 25f6864602
Migrate reactor-netty CONNECT instrumentation to Instrumenter API (#4493) 2021-10-25 13:43:30 -07:00
Nikita Salnikov-Tarnovski 8ea59f0846
Rename all InjectAdapters to Setters (#4489)
* Rename all InjectAdapters to Setters

* Errorprone fixes

* Make setter public
2021-10-25 12:36:59 -07:00
Mateusz Rzeszutek 413d7d1fa6
Migrate Netty 4.x CONNECT instrumentation to Instrumenter API (#4461) 2021-10-25 12:44:20 +02:00