Skip to content

Commit

Permalink
chore: Update skunk-circe, skunk-core from 1.0.0-M4 to 1.0.0-M5, otel…
Browse files Browse the repository at this point in the history
…4s from 0.0.4 to 0.0.5 (#105)

Co-authored-by: Raphaël Lemaitre <[email protected]>
  • Loading branch information
scala-steward and rlemaitre authored Apr 24, 2024
1 parent 3603f53 commit 8a8c9f0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion modules/core/src/main/scala/pillars/Observability.scala
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import io.circe.derivation.Configuration
import io.github.iltotore.iron.*
import io.github.iltotore.iron.circe.given
import io.github.iltotore.iron.constraint.all.*
import org.typelevel.otel4s.java.OtelJava
import org.typelevel.otel4s.metrics.Meter
import org.typelevel.otel4s.oteljava.OtelJava
import org.typelevel.otel4s.trace.Tracer
import sttp.tapir.server.interceptor.EndpointInterceptor
import sttp.tapir.server.interceptor.Interceptor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ object Otel4sMetrics:
labels: MetricLabels
): F[Metric[F, UpDownCounter[F, Long]]] =
meter
.upDownCounter("request.active")
.upDownCounter[Long]("request.active")
.withDescription("Active HTTP requests")
.withUnit("1")
.create
Expand All @@ -94,7 +94,7 @@ object Otel4sMetrics:

private def requestTotal[F[_]: Applicative](meter: Meter[F], labels: MetricLabels): F[Metric[F, Counter[F, Long]]] =
meter
.counter("request.total")
.counter[Long]("request.total")
.withDescription("Total HTTP requests")
.withUnit("1")
.create
Expand Down Expand Up @@ -132,7 +132,7 @@ object Otel4sMetrics:
labels: MetricLabels
): F[Metric[F, Histogram[F, Double]]] =
meter
.histogram("request.duration")
.histogram[Double]("request.duration")
.withDescription("Duration of HTTP requests")
.withUnit("ms")
.create
Expand Down
6 changes: 3 additions & 3 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ object Dependencies {
)

val observability: Seq[ModuleID] = Seq(
"org.typelevel" %% "otel4s-java" % "0.4.0",
"org.typelevel" %% "otel4s-oteljava" % "0.5.0",
"io.opentelemetry" % "opentelemetry-exporter-otlp" % "1.37.0" % Runtime,
"io.opentelemetry" % "opentelemetry-sdk-extension-autoconfigure" % "1.37.0" % Runtime
)

val database: Seq[ModuleID] = Seq(
"org.tpolecat" %% "skunk-core" % "1.0.0-M4",
"org.tpolecat" %% "skunk-circe" % "1.0.0-M4"
"org.tpolecat" %% "skunk-core" % "1.0.0-M5",
"org.tpolecat" %% "skunk-circe" % "1.0.0-M5"
) ++ tests

val doobie: Seq[ModuleID] = Seq(
Expand Down

0 comments on commit 8a8c9f0

Please sign in to comment.