Skip to content

Commit

Permalink
Use cats-effect-kernel in core-metrics module
Browse files Browse the repository at this point in the history
  • Loading branch information
iRevive committed Aug 3, 2022
1 parent f24f9da commit 8574657
Show file tree
Hide file tree
Showing 15 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ lazy val `core-metrics` = crossProject(JVMPlatform, JSPlatform)
.settings(
name := "otel4s-core-metrics",
libraryDependencies ++= Seq(
"org.typelevel" %%% "cats-effect" % CatsEffectVersion,
"org.typelevel" %%% "cats-effect-kernel" % CatsEffectVersion,
"org.scalameta" %%% "munit" % MUnitVersion % Test,
"org.typelevel" %%% "munit-cats-effect-3" % MUnitCatsEffectVersion % Test,
"org.typelevel" %%% "cats-effect-testkit" % CatsEffectVersion % Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
package org.typelevel.otel4s
package metrics

import cats.effect.Resource
import cats.effect.kernel.Resource

import scala.concurrent.duration.TimeUnit

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ package metrics

import cats.Applicative
import cats.Monad
import cats.effect.Clock
import cats.effect.Resource
import cats.effect.kernel.Clock
import cats.effect.kernel.Resource
import cats.syntax.flatMap._
import cats.syntax.functor._
import org.typelevel.otel4s.meta.InstrumentMeta
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

package org.typelevel.otel4s.java

import cats.effect.Sync
import cats.effect.kernel.Sync
import io.opentelemetry.api.{OpenTelemetry => JOpenTelemetry}
import org.typelevel.otel4s.Otel4s
import org.typelevel.otel4s.metrics.MeterProvider
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

package org.typelevel.otel4s.java

import cats.effect.Sync
import cats.effect.kernel.Sync
import io.opentelemetry.api.{OpenTelemetry => JOpenTelemetry}
import org.typelevel.otel4s.java.metrics.MeterProviderImpl
import org.typelevel.otel4s.metrics.MeterProvider
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package org.typelevel.otel4s
package java
package metrics

import cats.effect.Sync
import cats.effect.kernel.Sync
import io.opentelemetry.api.metrics.{Meter => JMeter}
import org.typelevel.otel4s.metrics._

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package org.typelevel.otel4s
package java
package metrics

import cats.effect.Sync
import cats.effect.kernel.Sync
import io.opentelemetry.api.metrics.{LongCounter => JLongCounter}
import org.typelevel.otel4s.meta.InstrumentMeta
import org.typelevel.otel4s.metrics._
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package org.typelevel.otel4s
package java
package metrics

import cats.effect.Sync
import cats.effect.kernel.Sync
import io.opentelemetry.api.metrics.{Meter => JMeter}
import org.typelevel.otel4s.metrics._

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package org.typelevel.otel4s
package java
package metrics

import cats.effect.Sync
import cats.effect.kernel.Sync
import io.opentelemetry.api.metrics.{DoubleHistogram => JDoubleHistogram}
import org.typelevel.otel4s.metrics._

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package org.typelevel.otel4s
package java
package metrics

import cats.effect.Sync
import cats.effect.kernel.Sync
import io.opentelemetry.api.{OpenTelemetry => JOpenTelemetry}
import org.typelevel.otel4s.metrics._

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package org.typelevel.otel4s
package java
package metrics

import cats.effect.Sync
import cats.effect.kernel.Sync
import io.opentelemetry.api.metrics.{Meter => JMeter}
import org.typelevel.otel4s.metrics._

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package org.typelevel.otel4s
package java
package metrics

import cats.effect.Sync
import cats.effect.kernel.Sync
import io.opentelemetry.api.{OpenTelemetry => JOpenTelemetry}
import org.typelevel.otel4s.metrics.MeterBuilder
import org.typelevel.otel4s.metrics.MeterProvider
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package org.typelevel.otel4s
package java
package metrics

import cats.effect.Sync
import cats.effect.kernel.Sync
import io.opentelemetry.api.metrics.{Meter => JMeter}
import org.typelevel.otel4s.metrics._

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package org.typelevel.otel4s
package java
package metrics

import cats.effect.Sync
import cats.effect.kernel.Sync
import io.opentelemetry.api.metrics.{LongUpDownCounter => JLongUpDownCounter}
import org.typelevel.otel4s.meta.InstrumentMeta
import org.typelevel.otel4s.metrics._
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ package org.typelevel.otel4s
package testkit
package metrics

import cats.effect.Sync
import cats.effect.kernel.Sync
import io.opentelemetry.api.common.{AttributeType => JAttributeType}
import io.opentelemetry.api.common.{Attributes => JAttributes}
import io.opentelemetry.sdk.OpenTelemetrySdk
Expand Down

0 comments on commit 8574657

Please sign in to comment.