From fe4623380ab3593324d38040ba523ae526042eeb Mon Sep 17 00:00:00 2001 From: zhangliang Date: Tue, 24 Oct 2023 09:39:44 +0800 Subject: [PATCH] Use prometheus-simpleclient bom --- agent/plugins/metrics/type/prometheus/pom.xml | 21 +++++++++++++++---- .../tracing/type/opentelemetry/pom.xml | 2 +- pom.xml | 6 +++--- 3 files changed, 21 insertions(+), 8 deletions(-) diff --git a/agent/plugins/metrics/type/prometheus/pom.xml b/agent/plugins/metrics/type/prometheus/pom.xml index 3134c8c02d9ae..45b868d61734d 100644 --- a/agent/plugins/metrics/type/prometheus/pom.xml +++ b/agent/plugins/metrics/type/prometheus/pom.xml @@ -26,6 +26,23 @@ shardingsphere-agent-metrics-prometheus ${project.artifactId} + + + + io.prometheus + simpleclient_bom + ${prometheus-simpleclient.version} + pom + import + + + io.prometheus.jmx + collector + ${prometheus-jmx.version} + + + + org.apache.shardingsphere @@ -74,22 +91,18 @@ io.prometheus simpleclient - ${prometheus.version} io.prometheus simpleclient_hotspot - ${prometheus.version} io.prometheus simpleclient_httpserver - ${prometheus.version} io.prometheus.jmx collector - ${prometheus.jmx.version} diff --git a/agent/plugins/tracing/type/opentelemetry/pom.xml b/agent/plugins/tracing/type/opentelemetry/pom.xml index bf11374dff2de..082f5aa0a058c 100644 --- a/agent/plugins/tracing/type/opentelemetry/pom.xml +++ b/agent/plugins/tracing/type/opentelemetry/pom.xml @@ -31,7 +31,7 @@ io.opentelemetry opentelemetry-bom - ${opentelemetry-bom.version} + ${opentelemetry.version} pom import diff --git a/pom.xml b/pom.xml index 94aa5bb928ad4..0a793aef8fa28 100644 --- a/pom.xml +++ b/pom.xml @@ -130,9 +130,9 @@ 3.14.15 - 0.11.0 - 0.16.1 - 1.31.0 + 0.11.0 + 0.16.1 + 1.31.0 1.9.10 5.10.0