diff --git a/instrumentation/okhttp/okhttp-3.0/library/README.md b/instrumentation/okhttp/okhttp-3.0/library/README.md index 8ea3103e6f28..a7613feb1156 100644 --- a/instrumentation/okhttp/okhttp-3.0/library/README.md +++ b/instrumentation/okhttp/okhttp-3.0/library/README.md @@ -35,7 +35,7 @@ propagation. ```java import io.opentelemetry.api.OpenTelemetry; -import io.opentelemetry.instrumentation.okhttp.v3_0.OkHttpTracing; +import io.opentelemetry.instrumentation.okhttp.v3_0.OkHttpTelemetry; import okhttp3.Call; import okhttp3.OkHttpClient; @@ -45,7 +45,7 @@ public class OkHttpConfiguration { //Use this Call.Factory implementation for making standard http client calls. public Call.Factory createTracedClient(OpenTelemetry openTelemetry) { - return OkHttpTracing.builder(openTelemetry).build().newCallFactory(createClient()); + return OkHttpTelemetry.builder(openTelemetry).build().newCallFactory(createClient()); } //your configuration of the OkHttpClient goes here: