Skip to content

Commit 1dbf1ec

Browse files
authored
chore: updating java-server-sdk-otel README.md (#42)
1 parent 9e3f458 commit 1dbf1ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/java-server-sdk-otel/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This package can be used to integrate OpenTelemetry with the LaunchDarkly Java S
1515
```
1616
dependencies {
1717
implementation "com.launchdarkly:launchdarkly-java-server-sdk:7+"
18-
implementation "com.launchdarkly:launchdarkly-java-server-sdk-otel:1+"
18+
implementation "com.launchdarkly:launchdarkly-java-server-sdk-otel:0.1.0"
1919
}
2020
```
2121

@@ -29,7 +29,7 @@ import com.launchdarkly.integrations.TracingHook;
2929
LDConfig config = new LDConfig.Builder()
3030
.hooks(
3131
Components.hooks()
32-
.addHooks(new TracingHook.Builder().withSpans().build())
32+
.setHooks(new TracingHook.Builder().withSpans().build())
3333
)
3434
.build()
3535

0 commit comments

Comments
 (0)