Commit Graph

7000 Commits

Author SHA1 Message Date
Javier Salinas f86312e277
Support ratpack functional tests (#4605)
* Support manual initialization of OpenTelemetryServerHandler for ratpack functional tests

* Use getters to do not expose opentelemetry implementations of ExecInterceptor and Handlers

* Update instrumentation/ratpack-1.4/library/build.gradle.kts

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>

* Make OpenTelemtryServerHandler public to be binded from Guice and use directly in Ratpack Chain

* Add documentation to getters methods to support Ratpack Registry bindings

* Fix checkstyle in javadoc

Co-authored-by: Mateusz Rzeszutek <mrzeszutek@splunk.com>
2021-11-19 11:22:10 -08:00
Anuraag Agrawal bcae1b11d3
Remove gRPC dependency for export (#4674) 2021-11-19 11:21:34 -08:00
Trask Stalnaker e6a9a6fd47
Fix spring-integration context leak (#4673) 2021-11-19 10:22:42 -08:00
Mateusz Rzeszutek ee32c41d35
Remove LongAdder and ClassValue usages from instrumentation-api (#4671) 2021-11-18 21:29:45 -08:00
Lauri Tulmin c7a4045404
Capture exception on finatra controller span (#4669)
* Capture exception on finatra controller span

* add return type check

* store VirtualField in a static field
2021-11-18 21:23:33 -08:00
Anna Nosek 16975acc67
add spring tests (#4670) 2021-11-18 11:11:22 -08:00
Trask Stalnaker f04f5771de
Build and test extensions with Java 8 (#4665) 2021-11-18 10:52:17 -08:00
Mateusz Rzeszutek 9235719839
Implement a dedicated reactor-netty 1.0 instrumentation (#4662)
* Implement a dedicated reactor-netty 1.0 instrumentation

* Apply suggestions from code review

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

* code review comments

* code review comments

* code review comments

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-18 10:27:47 -08:00
Lauri Tulmin 31d87162f3
Print out thread dump on strict context check failure (#4664)
* Print out thread dump on strict context check failure

* suppress warning
2021-11-18 15:42:54 +02:00
Lauri Tulmin db0d0c350a
Change supported websphere version from 8.5.x to 8.5.5.x (#4668) 2021-11-18 15:42:15 +02:00
Lauri Tulmin 628df63dad
Remove a few unused methods (#4661) 2021-11-17 09:40:43 -08:00
Nikita Salnikov-Tarnovski ab6a087f47
Force Vaadin to use ipv4 (#4660)
* Force Vaadin to use ipv4

* Spotless
2021-11-17 09:37:54 -08:00
Nikita Salnikov-Tarnovski 69336dac3a
Remove usage of FixedHostPortGenericContainer (#4651)
* Remove usage of FixedHostPortGenericContainer
2021-11-17 18:23:56 +02:00
Lauri Tulmin 3458afb8a4
Suppress muzzle warning from spring integration instrumentation (#4656) 2021-11-17 17:31:40 +02:00
Mateusz Rzeszutek 59b3199839
Test SSL handshake spans in reactor-netty (#4649) 2021-11-17 16:12:30 +01:00
Lauri Tulmin c57d4e00b6
Correct formatting of HttpClientTest comments (#4654)
* Correct formatting of HttpClientTest comments

* add <pre> tags
2021-11-17 12:03:51 +02:00
jason plumb 9e2839cb5a
fix instrumentation name (#4657) 2021-11-17 11:21:25 +02:00
Anuraag Agrawal 1d4fd9ef8b
Update to Gradle 7.3 (#4640)
* Update to Gradle 7.3

* Copy in protobuf-conventions from SDK

* Scala
2021-11-16 19:37:59 +09:00
Mateusz Rzeszutek 7caa4022d4
Trace SSL handshakes in netty 4.0 (#4635) 2021-11-16 08:35:54 +01:00
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