Skip to content

Commit 8cf6f0d

Browse files
committed
Merge branch 'main' of github.com:open-telemetry/opentelemetry-java-instrumentation into semconv-stable-code
2 parents 4db44bd + 2002a1a commit 8cf6f0d

File tree

8 files changed

+15
-15
lines changed

8 files changed

+15
-15
lines changed

conventions/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ dependencies {
6464
implementation("ru.vyarus:gradle-animalsniffer-plugin:2.0.1")
6565
implementation("org.spdx:spdx-gradle-plugin:0.9.0")
6666
// When updating, also update dependencyManagement/build.gradle.kts
67-
implementation("net.bytebuddy:byte-buddy-gradle-plugin:1.17.5")
67+
implementation("net.bytebuddy:byte-buddy-gradle-plugin:1.17.6")
6868
implementation("gradle.plugin.io.morethan.jmhreport:gradle-jmh-report:0.9.6")
6969
implementation("me.champeau.jmh:jmh-gradle-plugin:0.7.3")
7070
implementation("net.ltgt.gradle:gradle-errorprone-plugin:4.2.0")

dependencyManagement/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ val DEPENDENCY_BOMS = listOf(
3939
val autoServiceVersion = "1.1.1"
4040
val autoValueVersion = "1.11.0"
4141
val errorProneVersion = "2.38.0"
42-
val byteBuddyVersion = "1.17.5"
42+
val byteBuddyVersion = "1.17.6"
4343
val asmVersion = "9.8"
4444
val jmhVersion = "1.37"
4545
val mockitoVersion = "4.11.0"

docs/contributing/writing-instrumentation-module.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ Due to the changes needed on most of the instrumentation modules the migration c
394394
we thus have to implement it in two steps:
395395

396396
- `InstrumentationModule#isIndyModule` implementation return `true` (and changes needed to make it indy compatible)
397-
- set `inlined = false` on advice methods annotated with `@Advice.OnMethodEnter` or `@Advice.OnMethodExit`
397+
- set `inline = false` on advice methods annotated with `@Advice.OnMethodEnter` or `@Advice.OnMethodExit`
398398

399399
The `otel.javaagent.experimental.indy` (default `false`) configuration option allows to opt-in for
400400
using "indy". When set to `true`, the `io.opentelemetry.javaagent.tooling.instrumentation.indy.AdviceTransformer`
@@ -403,7 +403,7 @@ be removed once all the instrumentations are "indy native".
403403

404404
This configuration is automatically enabled in CI with `testIndy*` checks or when the `-PtestIndy=true` parameter is added to gradle.
405405

406-
In order to preserve compatibility with both instrumentation strategies, we have to omit the `inlined = false`
406+
In order to preserve compatibility with both instrumentation strategies, we have to omit the `inline = false`
407407
from the advice method annotations.
408408

409409
We have three sets of instrumentation modules:
@@ -445,12 +445,12 @@ return a value from the enter advice and get the value in the exit advice with a
445445
with `@Advice.Enter`, for example:
446446

447447
```java
448-
@Advice.OnMethodEnter(suppress = Throwable.class, inlined = false)
448+
@Advice.OnMethodEnter(suppress = Throwable.class, inline = false)
449449
public static Object onEnter(@Advice.Argument(1) Object request) {
450450
return "enterValue";
451451
}
452452

453-
@Advice.OnMethodExit(suppress = Throwable.class, onThrowable = Throwable.class, inlined = false)
453+
@Advice.OnMethodExit(suppress = Throwable.class, onThrowable = Throwable.class, inline = false)
454454
public static void onExit(@Advice.Argument(1) Object request,
455455
@Advice.Enter Object enterValue) {
456456
// do something with enterValue
@@ -467,7 +467,7 @@ annotated parameters, however modifying the values is done through the advice me
467467
and `@Advice.AssignReturned.ToArguments` annotation:
468468

469469
```java
470-
@Advice.OnMethodEnter(suppress = Throwable.class, inlined = false)
470+
@Advice.OnMethodEnter(suppress = Throwable.class, inline = false)
471471
@Advice.AssignReturned.ToArguments(@ToArgument(1))
472472
public static Object onEnter(@Advice.Argument(1) Object request) {
473473
return "hello";
@@ -487,7 +487,7 @@ annotated parameter, however modifying the value is done through the advice meth
487487
and `@Advice.AssignReturned.ToReturned`.
488488

489489
```java
490-
@Advice.OnMethodExit(suppress = Throwable.class, inlined = false)
490+
@Advice.OnMethodExit(suppress = Throwable.class, inline = false)
491491
@Advice.AssignReturned.ToReturned
492492
public static Object onExit(@Advice.Return Object returnValue) {
493493
return "hello";
@@ -504,7 +504,7 @@ annotated parameter, however modifying the value is done through the advice meth
504504
and `@Advice.AssignReturned.ToFields` annotation.
505505

506506
```java
507-
@Advice.OnMethodEnter(suppress = Throwable.class, inlined = false)
507+
@Advice.OnMethodEnter(suppress = Throwable.class, inline = false)
508508
@Advice.AssignReturned.ToFields(@ToField("fieldName"))
509509
public static Object onEnter(@Advice.FieldValue("fieldName") Object originalFieldValue) {
510510
return "newFieldValue";

gradle-plugins/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ configurations.named("compileOnly") {
2525
extendsFrom(bbGradlePlugin)
2626
}
2727

28-
val byteBuddyVersion = "1.17.5"
28+
val byteBuddyVersion = "1.17.6"
2929
val aetherVersion = "1.1.0"
3030

3131
dependencies {

licenses/licenses.md

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

smoke-tests/images/grpc/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies {
1111
implementation(platform("io.grpc:grpc-bom:1.73.0"))
1212
implementation(platform("io.opentelemetry:opentelemetry-bom:1.0.0"))
1313
implementation(platform("io.opentelemetry:opentelemetry-bom-alpha:1.0.0-alpha"))
14-
implementation(platform("org.apache.logging.log4j:log4j-bom:2.24.3"))
14+
implementation(platform("org.apache.logging.log4j:log4j-bom:2.25.0"))
1515

1616
implementation("io.grpc:grpc-netty-shaded")
1717
implementation("io.grpc:grpc-protobuf")

0 commit comments

Comments
 (0)