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 62a144b8..04e51d28 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 4bc6ebeb..5542f1eb 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 cb62f58e..b1a28955 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 c3684813..d29d9c3f 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 542afb31..ad35d416 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 3a370e41..21a266a6 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 7b721e45..64e0443c 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 b94087f1..ebc31859 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 + +