Skip to content

Commit da9f225

Browse files
authored
Update JVM flag otel.java.experimental.extension (#338)
otel.java.experimental.extesion JVM Flag was updated to otel.java.extension since Release v1.30.0
1 parent d822ae8 commit da9f225

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

examples/autoinstrument/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jib {
6464
// Use the downloaded java agent.
6565
'-javaagent:/otelagent/otel_agent.jar',
6666
// Use the GCP exporter extensions.
67-
'-Dotel.javaagent.experimental.extensions=/otelagent/gcp_ext.jar',
67+
'-Dotel.javaagent.extensions=/otelagent/gcp_ext.jar',
6868
// Configure auto instrumentation.
6969
'-Dotel.traces.exporter=google_cloud_trace',
7070
'-Dotel.metrics.exporter=google_cloud_monitoring',

propagators/gcp/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ The preferred mechanism is to use the [SDK autoconfigure extension](https://gith
1313

1414
- Add a runtime dependency from your java project to this library.
1515
- You can now use `oneway-gcp` and `gcp` as viable propagation strings in [the `otel.propagators` flag](https://github.com/open-telemetry/opentelemetry-java/tree/main/sdk-extensions/autoconfigure#propagator)
16-
- When using the autoinstrumentation agent, you also need to pass our propagators to the autoinstrumentation "extension" classpath. This can be done through the `otel.javaagent.experimental.extensions` flag.
16+
- When using the autoinstrumentation agent, you also need to pas our propagators to the autoinstrumentation "extension" classpath. This can be done through the `otel.javaagent.extensions` flag.
1717
```
18-
-Dotel.javaagent.experimental.extensions=/path/to/downloaded/gcp-propagator.jar
18+
-Dotel.javaagent.extensions=/path/to/downloaded/gcp-propagator.jar
1919
```
2020
For a complete example see [here](https://github.com/GoogleCloudPlatform/opentelemetry-operations-java/blob/main/examples/autoinstrument/build.gradle#L63).
2121

0 commit comments

Comments
 (0)