Commit Graph

6981 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
Anuraag Agrawal 6063a16f54
Update to OTel 1.9 (#4634)
* Update to OTel 1.9

* Check null
2021-11-15 17:56:53 +09:00
Nikita Salnikov-Tarnovski 7c038f5c71
Fix running `generateLicenseReport` task (#4614)
* Fix running `generateLicenseReport` task

* Spotless
2021-11-12 22:39:37 +02: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
Roberto Cortez 21d6648c95
Add version to the InstrumenterBuilder and Instrumenter (#4611) 2021-11-09 10:21:05 -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
Lauri Tulmin 59eb13fbbf
Add smoke test image for websphere and update other images (#4598)
* Add smoke test image for websphere and update other images

* fix windows liberty image build

* modify workflow to build websphere images

* correct liberty release

* fix typo

* add windows supported flag to server matrix
2021-11-08 08:49:24 -08:00
Trask Stalnaker 8b15b483b8
Update spring-integration instrumentation name (#4601) 2021-11-08 08:47:09 -08:00
Josh Suereth d3f8ab6c82
Update HTTP metrics 'view' code to match the specification (#4556)
* Update HTTP metrics 'view' code to match the specification, including optional attribute rules.

* Update server metrics test for new logic.

* Fix client metrics test.

* Spotless fix.

* Updates from Java SiG discussion.

* Fixes from review.

* Apply suggestions from code review

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

* Update spotless from code reivew merge.

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-06 09:09:01 -07: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
Mateusz Rzeszutek f3ec9a215b
Document Instrumenter API (#4544)
* Document Instrumenter API

* Apply suggestions from code review

Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>

* reformat and code review comments

* code review comments

* Apply suggestions from code review

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

* formatting

Co-authored-by: Fabrizio Ferri-Benedetti <fferribenedetti@splunk.com>
Co-authored-by: Nikita Salnikov-Tarnovski <gnikem@gmail.com>
Co-authored-by: Lauri Tulmin <tulmin@gmail.com>
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-05 15:15:48 +01:00
Mateusz Rzeszutek 59c1ce11a7
Improve muzzle check for constructors (#4591) 2021-11-05 08:40:20 +01: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
Anuraag Agrawal a7e3696176
Revert patch release workflow to 1.7.x version (#4586) 2021-11-04 12:49:09 +09: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
Anuraag Agrawal b9589f4305
Update OTel 1.7.1 (#4581) 2021-11-03 14:05:54 -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 6694f85532
Inject helper resources only once (#4573)
* Inject helper resouces only once

* use resources instread of resource
2021-11-03 09:30:22 -07:00
Mateusz Rzeszutek 1d1d9ac4eb
Remove micrometer from armeria-shaded-for-testing (#4571)
* Remove micrometer from armeria-shaded-for-testing

* relocate instead
2021-11-03 11:32:01 +01:00
Lauri Tulmin 077dac8c5f
Enable ignored aws tests (#4569)
* Enable ignored aws tests

* remove unused import
2021-11-02 14:25:45 -07:00
Mateusz Rzeszutek 2aaf4cd961
Fix CI snapshot build (#4572) 2021-11-02 14:25:30 -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 b3d9ae8268
Fix sun.misc.Unsafe generation on jdk17 (#4558)
* Fix sun.misc.Unsafe generation on jdk17

* remove jmxremote argument for now

* spotless

* remove unneeded annotation
2021-11-02 16:05:51 +02:00
Lauri Tulmin 12ec0fa481
Fix ClassCircularityError when running with security manager (#4557) 2021-11-02 09:30:01 +01:00
Lauri Tulmin 609795184f
Jedis 4 instrumentation (#4555) 2021-11-01 17:54:53 -07:00
Trask Stalnaker e3620a4ab7
Fix the build (#4559) 2021-11-01 15:02:31 -07:00
Lauri Tulmin 8dce10f8ae
Muzzle match only once in each class loader (#4543)
* Muzzle match only once in each class loader

* Move muzzle matcher caching from ReferenceMatcher to InstrumentationModuleInstaller

* Update comment as caching was moved to a different method

* Fix comment
2021-11-01 11:30:03 -07:00
Lauri Tulmin 8a33514551
update byte buddy to 1.11.22 (#4547) 2021-10-30 10:20:18 +03:00
Lauri Tulmin 0f01bbbb18
Remove hibernate session spans (#4538) 2021-10-29 11:08:33 -07:00
Trask Stalnaker 37e24ec924
Sync gradle-plugins version with main project (#4248)
* Sync gradle-plugins version with main project

* More fixes

* Can rely on examples build against all branches now?

* Use common version.gradle.kts

* Update doc

* Simplify
2021-10-29 10:34:49 -07:00