Commit Graph

9418 Commits

Author SHA1 Message Date
dependabot[bot] 5f48499792
Bump org.graalvm.buildtools.native from 0.9.20 to 0.9.21 (#8283)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-12 15:47:46 -07:00
dependabot[bot] cd844f4681
Bump io.quarkus from 2.16.6.Final to 3.0.0.Final (#8286)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-12 15:46:47 -07:00
dependabot[bot] ec22fa46ed
Bump org.mockito:mockito-core from 5.2.0 to 5.3.0 in /examples/distro (#8287)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-12 15:46:24 -07:00
Mateusz Rzeszutek 1990b06a82
Implement HttpServerResponseCustomizer support for Restlet (#8272) 2023-04-12 08:26:32 -07:00
Mateusz Rzeszutek 17702d6e98
Application logger bridge: Spring Boot support (#8228) 2023-04-12 08:25:28 -07:00
Lauri Tulmin 300267fe11
Implement HttpServerResponseCustomizer support for Armeria (#8274) 2023-04-12 14:44:48 +03:00
Ryan Dens e17feb4ea6
Remove Scala conventions from project that does not compile Scala (#8275) 2023-04-12 11:44:44 +02:00
Lauri Tulmin cec7904305
Enable response customizer tests for ratpack (#8277) 2023-04-12 11:38:38 +02:00
Lauri Tulmin 271c72b94a
Implement HttpServerResponseCustomizer support for Grizzly (#8263) 2023-04-12 10:06:01 +03:00
Trask Stalnaker 66f4c80d35
Update instrumentation suppression keys that do not align with their module name (#7811) 2023-04-11 10:54:42 -07:00
Lauri Tulmin 56eae8109b
Implement HttpServerResponseCustomizer support for Akka-http (#8273) 2023-04-11 10:54:03 -07:00
Lauri Tulmin 2dfe64a08b
Set timeout for r2dbc test (#8270) 2023-04-11 12:15:42 +02:00
Lauri Tulmin e03aaed32c
Disable connection recovery in rabbitmq test (#8261) 2023-04-10 19:18:21 -07:00
OpenTelemetry Bot 22df5866b0
Update the OpenTelemetry SDK version to 1.25.0 (#8262)
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-04-10 18:12:57 -07:00
Lauri Tulmin 4b257fe4ea
Implement HttpServerResponseCustomizer support for Liberty (#8264) 2023-04-10 18:09:08 -07:00
Lauri Tulmin bd7d1415ef
Implement HttpServerResponseCustomizer support for Undertow (#8265) 2023-04-10 18:08:53 -07:00
dependabot[bot] 5609f5fc18
Bump io.opentelemetry:opentelemetry-bom from 1.24.0 to 1.25.0 in /examples/distro (#8266)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-10 18:07:28 -07:00
Trask Stalnaker 41d7ed00b5
Fix auto-update SDK automation (#8260) 2023-04-10 08:47:26 -07:00
Lauri Tulmin 53fc6b6d9f
Update armeria-junit5 (#8259) 2023-04-09 14:12:41 -07:00
dependabot[bot] a84fccdd4b
Bump com.linecorp.armeria:armeria-grpc from 1.22.1 to 1.23.1 (#8250)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-09 21:24:13 +03:00
dependabot[bot] 91780f43f2
Bump com.gradle.plugin-publish from 1.1.0 to 1.2.0 (#8251)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-09 21:23:50 +03:00
dependabot[bot] 09e3269e99
Bump io.opentelemetry:opentelemetry-bom from 1.24.0 to 1.25.0 in /examples/extension (#8252)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-09 21:23:27 +03:00
Mateusz Rzeszutek 5b271c4917
Switch from http.flavor to net.protocol.* in HTTP server instrumentat… (#8244) 2023-04-09 08:47:33 -07:00
Lauri Tulmin 3de8000c30
Limit ucp latest dep test version (#8258) 2023-04-09 08:43:24 -07:00
dependabot[bot] 7c628c920f
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.17.0 to 6.18.0 (#8234)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
2023-04-07 15:51:49 +02:00
Mateusz Rzeszutek 69ee671e99
Fix armeria latestDepTest (#8247) 2023-04-07 13:50:10 +00:00
Lauri Tulmin 1b6d25e519
Disable automatic connection recovery in reactor rabbit test (#8243) 2023-04-07 06:41:40 -07:00
dependabot[bot] 3d020d2f8e
Bump byteBuddyVersion from 1.14.3 to 1.14.4 (#8233) 2023-04-07 06:37:09 -07:00
Mateusz Rzeszutek f501569106
Switch from http.flavor to net.protocol.* in HTTP client instrumentat… (#8131) 2023-04-07 13:39:42 +02:00
dependabot[bot] e79c46e190
Bump com.diffplug.spotless from 6.17.0 to 6.18.0 (#8235)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-07 12:17:39 +03:00
dependabot[bot] 8068d9d770
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.17.0 to 6.18.0 in /examples/distro (#8237)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-07 12:17:17 +03:00
dependabot[bot] dc696a4d33
Bump net.bytebuddy:byte-buddy-dep from 1.14.3 to 1.14.4 in /examples/distro (#8238)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-07 12:16:57 +03:00
dependabot[bot] f55a534578
Bump com.diffplug.spotless from 6.17.0 to 6.18.0 in /benchmark-overhead (#8239)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-07 12:16:35 +03:00
dependabot[bot] daee262ff6
Bump com.diffplug.spotless from 6.17.0 to 6.18.0 in /examples/extension (#8236) 2023-04-06 18:09:14 -07:00
Lauri Tulmin 1cd634b341
Replace deprecated method (#8230) 2023-04-06 14:43:36 -07:00
Lauri Tulmin c9c5aebb0b
Attempt to work around flaky reactor rabbitmq test (#8232) 2023-04-06 13:08:19 -07:00
Dmytro Iaroslavskyi 511f6b7361
ZIO 2.0 instrumentation (#7980)
Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-04-06 09:07:46 -07:00
Lauri Tulmin 7c9cf7ab1b
Spring scheduling: run error handler with the same context as task (#8220) 2023-04-06 08:39:33 -07:00
Trask Stalnaker fbdd611ab5
Update squash merge commit message (#8229) 2023-04-06 15:29:29 +00:00
Andrei Chugunov 506ca93699
webflux 5.0 groovy to java tests part 2 (#7776)
@trask @mateuszrzeszutek hello, what do you think about
SingleThreadedSpringWebfluxTest, the test contains dependencies on new
reactor netty classes in testLatestDeps case. I tried use reflection for
rewriting the test to java but it was not trivial and I not reach the
result

---------

Co-authored-by: Lauri Tulmin <ltulmin@splunk.com>
2023-04-05 19:33:23 -07:00
dependabot[bot] 273a2fe235
Bump org.testcontainers:testcontainers from 1.17.6 to 1.18.0 in /examples/extension (#8224) 2023-04-05 16:07:20 -07:00
dependabot[bot] 6a29e43b94
Bump org.testcontainers:testcontainers from 1.17.6 to 1.18.0 in /benchmark-overhead (#8226) 2023-04-05 16:06:28 -07:00
dependabot[bot] cd9d301214
Bump org.testcontainers:testcontainers from 1.17.6 to 1.18.0 in /examples/distro (#8223) 2023-04-05 16:05:53 -07:00
Trask Stalnaker 832549744b
Add comment about active request count attributes (#8221) 2023-04-05 14:40:51 -07:00
Lauri Tulmin 8aeffa5e80
Rename package.json to avoid dependabot alert (#8219)
This `package.json` contains outdated dependences, it is only used in a
test.

---------

Co-authored-by: Trask Stalnaker <trask.stalnaker@gmail.com>
2023-04-05 11:00:24 -07:00
Lauri Tulmin 856d521f0a
Update testcontainers and selenium (#8218) 2023-04-05 08:24:53 -07:00
Lauri Tulmin d87f40c9c7
Instrument akka-http bindAndHandle (#8174)
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/8143
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/6081
Resolves
https://github.com/open-telemetry/opentelemetry-java-instrumentation/issues/5137
Using the same approach as in
https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/6243
and as used by DataDog. Unlike in #6243 this pr does not attempt to
prevent leaking scopes into actors but rather instruments the actor to
reset context to get rid of the leaked scopes (DataDog does the same).
2023-04-05 17:11:05 +03:00
Lauri Tulmin 2f0819ae20
Improve compatibility with SecurityManager (#7983)
This pr gives classes defined in agent and extension class loaders all
permissions. Injected helper classes are also defined with all
permissions. Agent startup is altered so that we won't call methods that
require permission before we are able to get those permissions.
This pr does not attempt to address issues where agent code could allow
user code to circumvent security manager e.g.
https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/javaagent-bootstrap/src/main/java/io/opentelemetry/javaagent/bootstrap/InstrumentationHolder.java
gives access to `Instrumentation` that could be used to redefine classes
and remove security checks. Also this pr does not address failed
permission checks that could arise from user code calling agent code.
When user code, that does not have privileges, calls agent code, that
has the privileges, and agent code performs a sensitive operation then
permission check would fail because it is performed for all calling
classes, including the user classes. To fix this agent code should uses
`AccessController.doPrivileged` which basically means that, hey I have
done all the checks, run this call with my privileges and ignore the
privileges of my callers.
2023-04-05 15:41:37 +03:00
Lauri Tulmin e0ecb56e8b
Codeql detects zipslip vulnerability (#8209)
I think that the only way zipslip could happen is when name contains
`..` but codeql isn't able to cope with that. Removing the `..` check
gets rid of the code scanning alert.
2023-04-04 16:14:19 -07:00
dependabot[bot] b52bad1d8d
Bump io.quarkus.platform:quarkus-bom from 2.16.5.Final to 2.16.6.Final (#8213) 2023-04-04 16:12:43 -07:00