You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description ='MeterRegistry implementation for Prometheus using io.prometheus:simpleclient_common. This module is deprecated in favor of io.micrometer:micrometer-registry-prometheus that uses io.prometheus:prometheus-metrics-core.'
Copy file name to clipboardExpand all lines: implementations/micrometer-registry-prometheus/build.gradle
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,18 +1,19 @@
1
1
description ='MeterRegistry implementation for Prometheus using io.prometheus:prometheus-metrics-core. If you have compatibility issues with this module, you can go back to io.micrometer:micrometer-registry-prometheus-simpleclient that uses io.prometheus:simpleclient_common.'
2
2
3
3
dependencies {
4
+
api(platform(libs.prometheusMetricsBom))
5
+
4
6
api project(':micrometer-core')
5
7
6
-
api('io.prometheus:prometheus-metrics-core') {
8
+
api(libs.prometheusMetrics) {
7
9
// We only need SpanContext from prometheus-metrics-tracer-common, we don't need
8
10
// prometheus-metrics-tracer-initializer nor the dependencies it pulls in
0 commit comments