diff --git a/micrometer-prometheus/src/main/scala/com/avast/sst/micrometer/prometheus/MicrometerPrometheusConfig.scala b/micrometer-prometheus/src/main/scala/com/avast/sst/micrometer/prometheus/MicrometerPrometheusConfig.scala index acf610971..6f87c4341 100644 --- a/micrometer-prometheus/src/main/scala/com/avast/sst/micrometer/prometheus/MicrometerPrometheusConfig.scala +++ b/micrometer-prometheus/src/main/scala/com/avast/sst/micrometer/prometheus/MicrometerPrometheusConfig.scala @@ -1,7 +1,5 @@ package com.avast.sst.micrometer.prometheus -import io.micrometer.prometheus.HistogramFlavor - import java.util.concurrent.TimeUnit import scala.concurrent.duration.Duration @@ -9,6 +7,5 @@ final case class MicrometerPrometheusConfig( step: Duration = Duration(1, TimeUnit.MINUTES), prefix: String = "", descriptions: Boolean = true, - histogramFlavor: HistogramFlavor = HistogramFlavor.Prometheus, commonTags: Map[String, String] = Map.empty ) diff --git a/micrometer-prometheus/src/main/scala/com/avast/sst/micrometer/prometheus/MicrometerPrometheusModule.scala b/micrometer-prometheus/src/main/scala/com/avast/sst/micrometer/prometheus/MicrometerPrometheusModule.scala index 9030c0f8a..5e58ec2e8 100644 --- a/micrometer-prometheus/src/main/scala/com/avast/sst/micrometer/prometheus/MicrometerPrometheusModule.scala +++ b/micrometer-prometheus/src/main/scala/com/avast/sst/micrometer/prometheus/MicrometerPrometheusModule.scala @@ -3,7 +3,7 @@ package com.avast.sst.micrometer.prometheus import cats.effect.{Blocker, ContextShift, Resource, Sync} import com.avast.sst.micrometer.PrefixMeterFilter import io.micrometer.core.instrument.config.{MeterFilter, NamingConvention} -import io.micrometer.prometheus.{HistogramFlavor, PrometheusConfig, PrometheusMeterRegistry} +import io.micrometer.prometheusmetrics.{PrometheusConfig, PrometheusMeterRegistry} import java.time.Duration @@ -44,7 +44,6 @@ object MicrometerPrometheusModule { override val step: Duration = java.time.Duration.ofMillis(c.step.toMillis) override val prefix: String = c.prefix override val descriptions: Boolean = c.descriptions - override val histogramFlavor: HistogramFlavor = c.histogramFlavor // the method is @Nullable and we don't need to implement it here @SuppressWarnings(Array("scalafix:DisableSyntax.null")) diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 646dd4d80..f76227031 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -51,10 +51,10 @@ object Dependencies { val doobie = "0.13.4" val grpc = "1.64.0" val http4s = "0.22.14" - val micrometerCore = "1.10.13" - val micrometerJmx = "1.10.13" - val micrometerStatsD = "1.10.13" - val micrometerPrometheus = "1.10.13" + val micrometerCore = "1.13.0" + val micrometerJmx = "1.13.0" + val micrometerStatsD = "1.13.0" + val micrometerPrometheus = "1.13.0" val monix = "3.4.1" val pureConfig = "0.17.1"