From b4fe5593df1db2fe23cc534120c54a66bd78a536 Mon Sep 17 00:00:00 2001 From: Todd Anderson <127344469+tanderson-ld@users.noreply.github.com> Date: Fri, 13 Dec 2024 09:14:23 -0600 Subject: [PATCH] chore: updating java-server-sdk-otel README.md --- lib/java-server-sdk-otel/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/java-server-sdk-otel/README.md b/lib/java-server-sdk-otel/README.md index eb8e6d1..649b3e4 100644 --- a/lib/java-server-sdk-otel/README.md +++ b/lib/java-server-sdk-otel/README.md @@ -15,7 +15,7 @@ This package can be used to integrate OpenTelemetry with the LaunchDarkly Java S ``` dependencies { implementation "com.launchdarkly:launchdarkly-java-server-sdk:7+" - implementation "com.launchdarkly:launchdarkly-java-server-sdk-otel:1+" + implementation "com.launchdarkly:launchdarkly-java-server-sdk-otel:0.1.0" } ``` @@ -29,7 +29,7 @@ import com.launchdarkly.integrations.TracingHook; LDConfig config = new LDConfig.Builder() .hooks( Components.hooks() - .addHooks(new TracingHook.Builder().withSpans().build()) + .setHooks(new TracingHook.Builder().withSpans().build()) ) .build()