From c464484be6c5b6843c8f35b9a23ce9bb4e773b67 Mon Sep 17 00:00:00 2001 From: Thanh Le <lenguyenthanh@hotmail.com> Date: Sun, 27 Oct 2024 21:35:01 +0100 Subject: [PATCH] Clean up dependencies --- build.sbt | 7 +------ project/Dependencies.scala | 3 --- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/build.sbt b/build.sbt index 87ad152..173a14d 100644 --- a/build.sbt +++ b/build.sbt @@ -91,8 +91,6 @@ lazy val ingestor = (project in file("modules/ingestor")) mongo4catsCirce, log4Cats, logback, - otelJavaExporter, - otelJavaAutoConfig, otel4sMetricts, otel4sSdk, otel4sPrometheusExporter, @@ -138,16 +136,13 @@ lazy val app = (project in file("modules/app")) cirisHtt4s, log4Cats, logback, - otel4sJava, - otelJavaAutoConfig, otel4sMetricts, otel4sSdk, otel4sPrometheusExporter, weaver, testContainers ), - Compile / run / fork := true, - javaOptions += "-Dotel.java.global-autoconfigure.enabled=true" + Compile / run / fork := true ) .enablePlugins(JavaAppPackaging) .dependsOn(api, elastic) diff --git a/project/Dependencies.scala b/project/Dependencies.scala index f194298..86791e8 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -57,11 +57,8 @@ object Dependencies { val circe = "io.circe" %% "circe-core" % "0.14.10" val otel4sCore = "org.typelevel" %% "otel4s-core" % V.otel4s - val otel4sJava = "org.typelevel" %% "otel4s-oteljava" % V.otel4s val otel4sPrometheusExporter = "org.typelevel" %% "otel4s-sdk-exporter-prometheus" % V.otel4s val otel4sSdk = "org.typelevel" %% "otel4s-sdk" % V.otel4s - val otelJavaExporter = "io.opentelemetry" % "opentelemetry-exporter-otlp" % "1.43.0" % Runtime - val otelJavaAutoConfig = "io.opentelemetry" % "opentelemetry-sdk-extension-autoconfigure" % "1.43.0" % Runtime val otelJavaRuntimeMetrics = "io.opentelemetry.instrumentation" % "opentelemetry-runtime-telemetry-java17" % "2.5.0-alpha" val otel4sMetricts = "org.typelevel" %% "otel4s-experimental-metrics" % "0.4.0-4-138383f-SNAPSHOT"