Nikita Salnikov-Tarnovski
50bfdd1043
Upgrade testcontainers version ( #4727 )
...
* Upgrade testcontainers version
* Polish
* Use more stable waiting strategy
* Upgrade all remaining testcontainrs usages
2021-11-29 09:32:41 -08:00
Lauri Tulmin
b287c8d1d0
Enable read timeout test for some http clients ( #4702 )
...
* Enable read timeout test for some http clients
* remove unused import
* use separate client for read timeout request
2021-11-28 13:18:26 -08:00
Trask Stalnaker
ea7588cd15
Update references to master branch ( #4706 )
2021-11-24 13:11:21 -08:00
Mateusz Rzeszutek
9a4a68d836
Add Android API-friendliness checks ( #4505 )
...
* Add Android API-friendliness checks
* Improve comments
* Remove ignores
* Handle CompletionException
* Spotless
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-24 12:59:11 -08:00
Lauri Tulmin
903926904d
Fix spring webmvc latest dep test ( #4687 )
...
* Fix spring webmvc latest dep test
* review comments
* remove latest dep version restriction
2021-11-24 09:20:50 -08:00
Nikita Salnikov-Tarnovski
821a4b870b
Drop instrumentation-api-caching module and move weak cache implementation to instrumentation-api ( #4667 )
...
* Drop instrumentation-api-caching module and move weak cache implementation to instrumentation-api
* Some test fixes
* Some cleanup
* Temporary workaround for using weak values in FutureListenerWrappers
* Spotless
* Update ClassNames and SpanNames
* Compilation and comment
* Add bounded cache and clean interface
* Polish
* Add comment
* Vendor ConcurrentLinkedHashMap in
* Let errorprone ignore vendored CLHM for now
* Keep license in java files too
* Convert Netty wrapper cache to VirtualField
* Work around lambda instrumentation failure
Ideally we would ignore instrumenting helper classes...
* Revert "Work around lambda instrumentation failure"
This reverts commit 6d63815b44
.
* Revert "Convert Netty wrapper cache to VirtualField"
This reverts commit dac1522a3f
.
* Handle cleared weak values
* Fix comment
* Delete instrumentation-api-caching
* Copy in weak-lock-free
* Remove caffeine remnants
* Fix checkstyle
* Rename BoundedCache to MapBackedCached
* Remove duplicate LICENSE
* Remove outdated comment
* Sync with SDK copy of weaklockfree
* Enable checkstyle:off comment
* Re-generate license report
* Move NOTICE file to package-info.java
Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2021-11-24 09:05:12 -08:00
Lauri Tulmin
fac60ddb3c
Enable read timeout test for HttpURLConnection ( #4699 )
2021-11-23 10:30:45 -08:00
Lauri Tulmin
c53c8a0f01
Record exception for async servlet invocations ( #4677 )
...
* Record exception for asyn servlet invocations
* add back accidentally commented out line
* rearrange test so that it passes on both jetty and tomcat
2021-11-22 11:17:59 -08:00
Steven Aerts
e01422736b
Automatic AWS library instrumentor ( #4607 )
...
Like AWS X-Ray, provide an instrumentor which automatically registers
opentelemetry instrumentation in the AWS SDK without any code changes.
Those instrumentors are separate libraries published as
opentelemetry-aws-sdk-1.11-instrumentor and opentelemetry-aws-sdk-2.2-instrumentor
2021-11-22 11:15:44 -08:00
Trask Stalnaker
2ddd01f304
Temporary fix for test latest deps ( #4682 )
2021-11-21 14:44:59 -08:00
Trask Stalnaker
5b88f1bf05
Fix ratpack test latest deps ( #4679 )
2021-11-20 10:56:59 +02:00
Trask Stalnaker
6c98ba6b2b
Fix spring-kafka latest dep tests ( #4676 )
2021-11-19 13:12:18 -08:00
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
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
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
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
jason plumb
9e2839cb5a
fix instrumentation name ( #4657 )
2021-11-17 11:21:25 +02: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
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