From f4dc4361a1b74d5ac4e97a4ecdd59155fd0d4487 Mon Sep 17 00:00:00 2001 From: zlt Date: Mon, 4 Mar 2019 09:08:02 +0800 Subject: [PATCH] add prometheus monitor support --- zlt-business/code-generator/pom.xml | 5 +++++ zlt-business/file-center/pom.xml | 5 +++++ zlt-business/user-center/pom.xml | 5 +++++ zlt-gateway/zuul-gateway/pom.xml | 5 +++++ zlt-job/job-admin/pom.xml | 5 +++++ zlt-job/job-executor-samples/pom.xml | 5 +++++ zlt-monitor/log-center/pom.xml | 5 +++++ zlt-monitor/sc-admin/pom.xml | 6 ++++++ zlt-uaa/pom.xml | 5 +++++ 9 files changed, 46 insertions(+) diff --git a/zlt-business/code-generator/pom.xml b/zlt-business/code-generator/pom.xml index 62a144b..04e51d2 100644 --- a/zlt-business/code-generator/pom.xml +++ b/zlt-business/code-generator/pom.xml @@ -59,6 +59,11 @@ commons-configuration commons-configuration + + + io.micrometer + micrometer-registry-prometheus + diff --git a/zlt-business/file-center/pom.xml b/zlt-business/file-center/pom.xml index 4bc6ebe..5542f1e 100644 --- a/zlt-business/file-center/pom.xml +++ b/zlt-business/file-center/pom.xml @@ -66,6 +66,11 @@ mysql mysql-connector-java + + + io.micrometer + micrometer-registry-prometheus + diff --git a/zlt-business/user-center/pom.xml b/zlt-business/user-center/pom.xml index cb62f58..b1a2895 100644 --- a/zlt-business/user-center/pom.xml +++ b/zlt-business/user-center/pom.xml @@ -67,6 +67,11 @@ cn.afterturn easypoi-annotation + + + io.micrometer + micrometer-registry-prometheus + diff --git a/zlt-gateway/zuul-gateway/pom.xml b/zlt-gateway/zuul-gateway/pom.xml index c368481..d29d9c3 100644 --- a/zlt-gateway/zuul-gateway/pom.xml +++ b/zlt-gateway/zuul-gateway/pom.xml @@ -86,6 +86,11 @@ com.squareup.okhttp3 okhttp + + + io.micrometer + micrometer-registry-prometheus + diff --git a/zlt-job/job-admin/pom.xml b/zlt-job/job-admin/pom.xml index 542afb3..ad35d41 100644 --- a/zlt-job/job-admin/pom.xml +++ b/zlt-job/job-admin/pom.xml @@ -101,6 +101,11 @@ job-core ${project.parent.version} + + + io.micrometer + micrometer-registry-prometheus + diff --git a/zlt-job/job-executor-samples/pom.xml b/zlt-job/job-executor-samples/pom.xml index 3a370e4..21a266a 100644 --- a/zlt-job/job-executor-samples/pom.xml +++ b/zlt-job/job-executor-samples/pom.xml @@ -71,6 +71,11 @@ job-core ${project.parent.version} + + + io.micrometer + micrometer-registry-prometheus + diff --git a/zlt-monitor/log-center/pom.xml b/zlt-monitor/log-center/pom.xml index 7b721e4..64e0443 100644 --- a/zlt-monitor/log-center/pom.xml +++ b/zlt-monitor/log-center/pom.xml @@ -39,6 +39,11 @@ org.springframework.boot spring-boot-starter-actuator + + + io.micrometer + micrometer-registry-prometheus + diff --git a/zlt-monitor/sc-admin/pom.xml b/zlt-monitor/sc-admin/pom.xml index b94087f..ebc3185 100644 --- a/zlt-monitor/sc-admin/pom.xml +++ b/zlt-monitor/sc-admin/pom.xml @@ -38,6 +38,12 @@ org.springframework.boot spring-boot-starter-security + + + io.micrometer + micrometer-registry-prometheus + +