Skip to content

Commit 0d00adf

Browse files
committed
merge
2 parents b1481b9 + 96dad3e commit 0d00adf

File tree

7 files changed

+32
-9
lines changed

7 files changed

+32
-9
lines changed

buildSrc/src/main/kotlin/otel.java-conventions.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ testing {
136136
implementation(project(project.path))
137137

138138
implementation(enforcedPlatform("org.junit:junit-bom:5.12.0"))
139-
implementation(enforcedPlatform("org.testcontainers:testcontainers-bom:1.20.5"))
139+
implementation(enforcedPlatform("org.testcontainers:testcontainers-bom:1.20.6"))
140140
implementation(enforcedPlatform("com.google.guava:guava-bom:33.4.0-jre"))
141-
implementation(enforcedPlatform("com.linecorp.armeria:armeria-bom:1.31.3"))
141+
implementation(enforcedPlatform("com.linecorp.armeria:armeria-bom:1.32.0"))
142142

143143
compileOnly("com.google.auto.value:auto-value-annotations")
144144
compileOnly("com.google.errorprone:error_prone_annotations")

dependencyManagement/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ dependencies {
5151
api("org.junit-pioneer:junit-pioneer:1.9.1")
5252
api("org.skyscreamer:jsonassert:1.5.3")
5353
api("org.apache.kafka:kafka-clients:3.9.0")
54-
api("org.testcontainers:kafka:1.20.5")
54+
api("org.testcontainers:kafka:1.20.6")
5555
api("com.lmax:disruptor:3.4.4")
5656
api("org.jctools:jctools-core:4.0.5")
5757
api("tools.profiler:async-profiler:3.0")

gcp-auth-extension/README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ Here is a list of configurable options for the extension:
4848
The OpenTelemetry Java Agent Extension can be easily added to any Java application by modifying the startup command to the application.
4949
For more information on Extensions, see the [documentation here](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/examples/extension/README.md).
5050

51+
> [!IMPORTANT]
52+
> Make sure to download the 'shaded' variant of the Authentication Extension for use with OpenTelemetry Java auto-instrumentation agent. The shaded version is available under the classifier name `shadow`.\
53+
> See instructions for [Downloading Shaded JAR](#downloading-shaded-jar) below.
54+
5155
Below is a snippet showing how to add the extension to a Java application using the Gradle build system.
5256

5357
```gradle
@@ -80,6 +84,21 @@ application {
8084
}
8185
```
8286

87+
#### Downloading Shaded JAR
88+
89+
You can download the shaded JAR for Google Cloud Authentication Extension from the following link -
90+
91+
```text
92+
https://repo1.maven.org/maven2/io/opentelemetry/contrib/opentelemetry-gcp-auth-extension/<VERSION>/opentelemetry-gcp-auth-extension-<VERSION>-shadow.jar
93+
```
94+
95+
Replace `<VERSION>` with the version you wish to download. For instance, shaded
96+
variant for `v1.44.0-alpha`, will be found at -
97+
98+
`https://repo1.maven.org/maven2/io/opentelemetry/contrib/opentelemetry-gcp-auth-extension/1.44.0-alpha/opentelemetry-gcp-auth-extension-1.44.0-alpha-shadow.jar`
99+
100+
*Note: Typically, you would want to use the most recent version of the extension.*
101+
83102
### Without OpenTelemetry Java agent
84103

85104
This extension can be used without the OpenTelemetry Java agent by leveraging the [OpenTelemetry SDK Autoconfigure](https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/autoconfigure/README.md) module.\

gcp-auth-extension/build.gradle.kts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ tasks {
6060
}
6161

6262
shadowJar {
63+
/**
64+
* Shaded version of this extension is required when using it as a OpenTelemetry Java Agent
65+
* extension. Shading bundles the dependencies required by this extension in the resulting JAR,
66+
* ensuring their presence on the classpath at runtime.
67+
*
68+
* See http://gradleup.com/shadow/introduction/#introduction for reference.
69+
*/
6370
archiveClassifier.set("shadow")
6471
}
6572

jmx-metrics/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ val groovyVersion = "3.0.24"
1717
dependencies {
1818
api(platform("org.codehaus.groovy:groovy-bom:$groovyVersion"))
1919

20-
implementation("io.grpc:grpc-netty-shaded:1.70.0")
20+
implementation("io.grpc:grpc-netty-shaded:1.71.0")
2121
implementation("org.codehaus.groovy:groovy-jmx")
2222
implementation("org.codehaus.groovy:groovy")
2323
implementation("io.prometheus:simpleclient")

processors/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ tracer_provider: ...
2525

2626
logger_provider:
2727
processors:
28-
# TODO(jack-berg): remove "{}" after releasing [opentelemetry-java#6891](https://github.com/open-telemetry/opentelemetry-java/pull/6891/files)
29-
- event_to_span_event_bridge: {}
28+
- event_to_span_event_bridge:
3029
```
3130
3231
## Component owners

processors/src/test/java/io/opentelemetry/contrib/eventbridge/internal/EventToSpanBridgeComponentProviderTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ void endToEnd() {
2121
"file_format: 0.3\n"
2222
+ "logger_provider:\n"
2323
+ " processors:\n"
24-
// TODO(jack-berg): remove "{}" after releasing
25-
// https://github.com/open-telemetry/opentelemetry-java/pull/6891/files
26-
+ " - event_to_span_event_bridge: {}\n";
24+
+ " - event_to_span_event_bridge:";
2725

2826
OpenTelemetrySdk openTelemetrySdk =
2927
FileConfiguration.parseAndCreate(

0 commit comments

Comments
 (0)