Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class AutoconfiguredTracingExecutionInterceptor implements ExecutionInter
AwsSdkTelemetry.builder(GlobalOpenTelemetry.get())
.setCaptureExperimentalSpanAttributes(CAPTURE_EXPERIMENTAL_SPAN_ATTRIBUTES)
.build()
.newExecutionInterceptor();
.createExecutionInterceptor();

@Override
public void beforeExecution(
Expand Down
6 changes: 3 additions & 3 deletions java/dependencyManagement/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
data class DependencySet(val group: String, val version: String, val modules: List<String>)

val DEPENDENCY_BOMS = listOf(
"io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:2.24.0-alpha",
"io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:2.25.0-alpha",
"org.apache.logging.log4j:log4j-bom:2.25.3",
"software.amazon.awssdk:bom:2.41.29"
)
Expand All @@ -18,9 +18,9 @@ val DEPENDENCIES = listOf(
"com.amazonaws:aws-lambda-java-core:1.4.0",
"com.amazonaws:aws-lambda-java-events:3.16.1",
"com.squareup.okhttp3:okhttp:5.3.2",
"io.opentelemetry.javaagent:opentelemetry-javaagent:2.24.0",
"io.opentelemetry.javaagent:opentelemetry-javaagent:2.25.0",
"io.opentelemetry:opentelemetry-sdk-extension-aws:1.19.0",
"io.opentelemetry.contrib:opentelemetry-aws-resources:1.52.0-alpha",
"io.opentelemetry.contrib:opentelemetry-aws-resources:1.54.0-alpha",
)

javaPlatform {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public APIGatewayProxyResponseEvent handleRequest(

OkHttpClient baseClient = new OkHttpClient();
Call.Factory callFactory =
OkHttpTelemetry.create(GlobalOpenTelemetry.get()).newCallFactory(baseClient);
OkHttpTelemetry.create(GlobalOpenTelemetry.get()).createCallFactory(baseClient);

APIGatewayProxyResponseEvent response = new APIGatewayProxyResponseEvent();

Expand Down
Loading