diff --git a/platform/spring-boot-dependencies/build.gradle b/platform/spring-boot-dependencies/build.gradle index 1c069809d03..8818eff7c37 100644 --- a/platform/spring-boot-dependencies/build.gradle +++ b/platform/spring-boot-dependencies/build.gradle @@ -1877,10 +1877,17 @@ bom { releaseNotes("https://github.com/pgjdbc/pgjdbc/releases/tag/REL{version}") } } - library("Prometheus Client", "1.5.1") { + library("Prometheus Client", "1.7.0") { group("io.prometheus") { bom("prometheus-metrics-bom") } + alignWith { + version { + of "io.prometheus:prometheus-metrics-core" + from "io.micrometer:micrometer-registry-prometheus" + managedBy "Micrometer" + } + } links { site("https://github.com/prometheus/client_java") javadoc("prometheus-metrics-tracer-common", (version) -> "https://javadoc.io/doc/io.prometheus/prometheus-metrics-tracer-common/%s".formatted(version), "io.prometheus.metrics.tracer.common")