From 77a849992e777369672e8d712c6c63f3f47a6510 Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期六, 17 六月 2023 00:52:19 +0800
Subject: [PATCH] update 优化 powerjob-server 对接 monitor-admin 监控

---
 ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application.properties |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application.properties b/ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application.properties
index 7028499..5477c1f 100644
--- a/ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application.properties
+++ b/ruoyi-extend/ruoyi-powerjob-server/src/main/resources/application.properties
@@ -21,3 +21,10 @@
 oms.http.port=10010
 # Prefix for all tables. Default empty string. Config if you have needs, i.e. pj_
 oms.table-prefix=pj_
+
+# Actuator 鐩戞帶绔偣鐨勯厤缃」
+spring.application.name: ruoyi-powerjob-server
+management.endpoints.web.exposure.include=*
+management.endpoint.health.show-details=ALWAYS
+management.endpoint.logfile.external-file=./logs/ruoyi-powerjob-server.log
+management.health.mongo.enabled=${oms.mongodb.enable}

--
Gitblit v1.9.3