You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2026/08/16 08:37:24 UTC

(shardingsphere) branch master updated: Remove unused JMX collector dependency from Prometheus agent (#39482)

This is an automated email from the ASF dual-hosted git repository.

terrymanu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 32dd55739da Remove unused JMX collector dependency from Prometheus agent (#39482)
32dd55739da is described below

commit 32dd55739da282a8c483a5b0542211e8c57e90f1
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Sun Aug 16 16:37:18 2026 +0800

    Remove unused JMX collector dependency from Prometheus agent (#39482)
---
 agent/plugins/metrics/type/prometheus/pom.xml | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/agent/plugins/metrics/type/prometheus/pom.xml b/agent/plugins/metrics/type/prometheus/pom.xml
index a5f99a8f06b..29fd6545f4f 100644
--- a/agent/plugins/metrics/type/prometheus/pom.xml
+++ b/agent/plugins/metrics/type/prometheus/pom.xml
@@ -28,7 +28,6 @@
     
     <properties>
         <prometheus-simpleclient.version>0.11.0</prometheus-simpleclient.version>
-        <prometheus-jmx.version>0.16.1</prometheus-jmx.version>
     </properties>
     
     <dependencyManagement>
@@ -40,11 +39,6 @@
                 <type>pom</type>
                 <scope>import</scope>
             </dependency>
-            <dependency>
-                <groupId>io.prometheus.jmx</groupId>
-                <artifactId>collector</artifactId>
-                <version>${prometheus-jmx.version}</version>
-            </dependency>
         </dependencies>
     </dependencyManagement>
     
@@ -68,10 +62,6 @@
             <groupId>io.prometheus</groupId>
             <artifactId>simpleclient_httpserver</artifactId>
         </dependency>
-        <dependency>
-            <groupId>io.prometheus.jmx</groupId>
-            <artifactId>collector</artifactId>
-        </dependency>
     </dependencies>
     
     <build>
@@ -93,10 +83,6 @@
                                     <pattern>net.bytebuddy</pattern>
                                     <shadedPattern>${shade.package}.net.bytebuddy</shadedPattern>
                                 </relocation>
-                                <relocation>
-                                    <pattern>org.yaml.snakeyaml</pattern>
-                                    <shadedPattern>${shade.package}.org.yaml.snakeyaml</shadedPattern>
-                                </relocation>
                                 <relocation>
                                     <pattern>io.prometheus.client</pattern>
                                     <shadedPattern>${shade.package}.io.prometheus.client</shadedPattern>