diff --git a/native/src/main/java/io/ballerina/observe/metrics/newrelic/NewRelicMetricsReporter.java b/native/src/main/java/io/ballerina/observe/metrics/newrelic/NewRelicMetricsReporter.java index dd9682a..3620970 100644 --- a/native/src/main/java/io/ballerina/observe/metrics/newrelic/NewRelicMetricsReporter.java +++ b/native/src/main/java/io/ballerina/observe/metrics/newrelic/NewRelicMetricsReporter.java @@ -26,11 +26,9 @@ import io.ballerina.runtime.api.PredefinedTypes; import io.ballerina.runtime.api.creators.TypeCreator; import io.ballerina.runtime.api.creators.ValueCreator; -import io.ballerina.runtime.api.types.ArrayType; import io.ballerina.runtime.api.utils.StringUtils; import io.ballerina.runtime.api.values.BArray; import io.ballerina.runtime.api.values.BString; -import io.ballerina.runtime.internal.types.BStringType; import io.ballerina.runtime.observability.metrics.Counter; import io.ballerina.runtime.observability.metrics.DefaultMetricRegistry; import io.ballerina.runtime.observability.metrics.Gauge; @@ -42,7 +40,6 @@ import io.ballerina.runtime.observability.metrics.Snapshot; import io.ballerina.runtime.observability.metrics.Tag; -import java.io.PrintStream; import java.net.InetAddress; import java.net.UnknownHostException; import java.time.Duration; diff --git a/native/src/main/java/io/ballerina/observe/trace/newrelic/NewRelicTracerProvider.java b/native/src/main/java/io/ballerina/observe/trace/newrelic/NewRelicTracerProvider.java index 810b0da..e45f6dd 100644 --- a/native/src/main/java/io/ballerina/observe/trace/newrelic/NewRelicTracerProvider.java +++ b/native/src/main/java/io/ballerina/observe/trace/newrelic/NewRelicTracerProvider.java @@ -37,7 +37,6 @@ import io.opentelemetry.sdk.trace.export.BatchSpanProcessor; import io.opentelemetry.sdk.trace.samplers.Sampler; -import java.io.PrintStream; import java.util.concurrent.TimeUnit; import static io.opentelemetry.semconv.resource.attributes.ResourceAttributes.SERVICE_NAME;