Skip to content

Commit 2edca39

Browse files
committed
Align Prometheus Client dependency with Micrometer
Closes gh-50780
1 parent 699d9c3 commit 2edca39

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

platform/spring-boot-dependencies/build.gradle

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1877,10 +1877,17 @@ bom {
18771877
releaseNotes("https://github.com/pgjdbc/pgjdbc/releases/tag/REL{version}")
18781878
}
18791879
}
1880-
library("Prometheus Client", "1.5.1") {
1880+
library("Prometheus Client", "1.7.0") {
18811881
group("io.prometheus") {
18821882
bom("prometheus-metrics-bom")
18831883
}
1884+
alignWith {
1885+
version {
1886+
of "io.prometheus:prometheus-metrics-core"
1887+
from "io.micrometer:micrometer-registry-prometheus"
1888+
managedBy "Micrometer"
1889+
}
1890+
}
18841891
links {
18851892
site("https://github.com/prometheus/client_java")
18861893
javadoc("prometheus-metrics-tracer-common", (version) -> "https://javadoc.io/doc/io.prometheus/prometheus-metrics-tracer-common/%s".formatted(version), "io.prometheus.metrics.tracer.common")

0 commit comments

Comments
 (0)