feat(canal/adapter): adapter支持prometheus暴露jvm指标 (#5549)

- adapter 默认提供prometheus暴露JVM指标

- 指定 maven-antrun-plugin 未指定版本号,默认是 3.0.0,但是配置中使用 <tasks> 标签,编译报错。
   - 降级版本号,显式指定 1.8 版本
   - 或者把配置中的 <tasks> 标签改成 <target>
This commit is contained in:
sunxien
2025-12-25 11:41:08 +08:00
committed by GitHub
parent af9375440d
commit 5a5e60d371
4 changed files with 144 additions and 1 deletions

View File

@@ -68,7 +68,6 @@
<groupId>com.microsoft.sqlserver</groupId>
<artifactId>mssql-jdbc</artifactId>
</dependency>
<dependency>
<groupId>org.apache.hbase</groupId>
<artifactId>hbase-shaded-client</artifactId>
@@ -79,6 +78,18 @@
<artifactId>clickhouse-jdbc</artifactId>
</dependency>
<!-- prometheus hotspot exporter -->
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient_hotspot</artifactId>
<version>0.4.0</version>
</dependency>
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient_httpserver</artifactId>
<version>0.4.0</version>
</dependency>
<!-- outer adapter jar with dependencies-->
<dependency>
<groupId>com.alibaba.otter</groupId>