summaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorwangwei <[email protected]>2024-01-09 14:47:21 +0800
committerwangwei <[email protected]>2024-01-09 14:47:21 +0800
commit026329f9b13d2762639cb64427b305410c3a200c (patch)
treec6e7c99ed622a10b48964f5cb3848e81d239c2f8 /pom.xml
parente570c103d0c905f108da6433ab44491310956ae6 (diff)
1.增加Prometheus自定义metrics 2.fqdb匹配模式更新为子串匹配
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 06f23c8..889e73d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -49,6 +49,41 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-web</artifactId>
+ </dependency>
+ <!--Springboot集成prometheus依赖-->
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-actuator</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>io.micrometer</groupId>
+ <artifactId>micrometer-registry-prometheus</artifactId>
+ </dependency>
+ <!-- https://mvnrepository.com/artifact/io.prometheus/simpleclient -->
+ <!-- https://mvnrepository.com/artifact/io.prometheus/simpleclient_common -->
+ <dependency>
+ <groupId>io.prometheus</groupId>
+ <artifactId>simpleclient_common</artifactId>
+ <version>0.16.0</version>
+ </dependency>
+ <dependency>
+ <groupId>io.prometheus</groupId>
+ <artifactId>simpleclient_hotspot</artifactId>
+ <version>0.16.0</version>
+ </dependency>
+ <dependency>
+ <groupId>io.prometheus</groupId>
+ <artifactId>simpleclient_servlet</artifactId>
+ <version>0.16.0</version>
+ </dependency>
+
<!-- https://mvnrepository.com/artifact/org.mariadb.jdbc/mariadb-java-client -->
<dependency>
<groupId>mysql</groupId>