diff --git a/ballerina/Ballerina.toml b/ballerina/Ballerina.toml index cef06fc..7653ebf 100644 --- a/ballerina/Ballerina.toml +++ b/ballerina/Ballerina.toml @@ -97,7 +97,7 @@ version = "@opentelemetry.version@" [[platform.java17.dependency]] path = "./lib/opentelemetry-semconv-@opentelemetrySemconv.version@.jar" -groupId = "io.opentelemetry" +groupId = "io.opentelemetry.semconv" artifactId = "opentelemetry-semconv" version = "@opentelemetrySemconv.version@" diff --git a/ballerina/build.gradle b/ballerina/build.gradle index 3854967..539b7db 100644 --- a/ballerina/build.gradle +++ b/ballerina/build.gradle @@ -48,7 +48,7 @@ dependencies { externalJars "io.opentelemetry:opentelemetry-context:${openTelemetryVersion}" externalJars "io.opentelemetry:opentelemetry-sdk-trace:${openTelemetryVersion}" externalJars "io.opentelemetry:opentelemetry-sdk-common:${openTelemetryVersion}" - externalJars "io.opentelemetry:opentelemetry-semconv:${openTelemetrySemconvVersion}" + externalJars "io.opentelemetry.semconv:opentelemetry-semconv:${openTelemetrySemconvVersion}" externalJars "io.opentelemetry:opentelemetry-proto:${openTelemetryProtoVersion}" externalJars "io.opentelemetry:opentelemetry-exporter-otlp:${openTelemetryVersion}" externalJars "io.opentelemetry:opentelemetry-exporter-otlp-common:${openTelemetryVersion}" diff --git a/native/build.gradle b/native/build.gradle index 474e8a6..e417e0f 100644 --- a/native/build.gradle +++ b/native/build.gradle @@ -36,7 +36,7 @@ dependencies { implementation "io.opentelemetry:opentelemetry-context:${openTelemetryVersion}" implementation "io.opentelemetry:opentelemetry-sdk-trace:${openTelemetryVersion}" implementation "io.opentelemetry:opentelemetry-sdk-common:${openTelemetryVersion}" - implementation "io.opentelemetry:opentelemetry-semconv:${openTelemetrySemconvVersion}" + implementation "io.opentelemetry.semconv:opentelemetry-semconv:${openTelemetrySemconvVersion}" implementation "io.opentelemetry:opentelemetry-extension-trace-propagators:${openTelemetryVersion}" implementation("com.google.guava:guava:${guavaVersion}") { exclude group: 'com.google.code.findbugs', module: 'jsr305' diff --git a/native/src/main/java/io/ballerina/observe/trace/zipkin/ZipkinTracerProvider.java b/native/src/main/java/io/ballerina/observe/trace/zipkin/ZipkinTracerProvider.java index b9e4ae5..9c0090c 100644 --- a/native/src/main/java/io/ballerina/observe/trace/zipkin/ZipkinTracerProvider.java +++ b/native/src/main/java/io/ballerina/observe/trace/zipkin/ZipkinTracerProvider.java @@ -36,7 +36,7 @@ import java.util.Objects; import java.util.concurrent.TimeUnit; -import static io.opentelemetry.semconv.resource.attributes.ResourceAttributes.SERVICE_NAME; +import static io.opentelemetry.semconv.ResourceAttributes.SERVICE_NAME; /** * This is the Zipkin tracing extension class for {@link TracerProvider}.