From 1aa630e3c36edc363f70c9b747c02fb6ccc7910e Mon Sep 17 00:00:00 2001 From: YunaiV Date: Mon, 20 May 2019 20:36:18 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E5=90=8E=E7=AB=AF=EF=BC=9A=E5=BC=95?= =?UTF-8?q?=E5=85=A5=E4=B8=8B=20Metrics=20=E7=9B=B8=E5=85=B3=E7=9A=84?= =?UTF-8?q?=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.yaml | 8 ++++++++ pay/pay-application/src/main/resources/application.yaml | 8 ++++++++ .../src/main/resources/application.yaml | 9 +++++++++ .../src/main/resources/application.yaml | 9 +++++++++ 4 files changed, 34 insertions(+) diff --git a/order/order-application/src/main/resources/application.yaml b/order/order-application/src/main/resources/application.yaml index 827377e97..f8614c729 100644 --- a/order/order-application/src/main/resources/application.yaml +++ b/order/order-application/src/main/resources/application.yaml @@ -18,3 +18,11 @@ server: swagger: enable: false + +management: + endpoints: + web: + exposure: + include: health,info,env,metrics,prometheus + metrics: + enabled: true diff --git a/pay/pay-application/src/main/resources/application.yaml b/pay/pay-application/src/main/resources/application.yaml index fec2024fe..3e2704368 100644 --- a/pay/pay-application/src/main/resources/application.yaml +++ b/pay/pay-application/src/main/resources/application.yaml @@ -18,3 +18,11 @@ server: swagger: enable: false + +management: + endpoints: + web: + exposure: + include: health,info,env,metrics,prometheus + metrics: + enabled: true diff --git a/promotion/promotion-application/src/main/resources/application.yaml b/promotion/promotion-application/src/main/resources/application.yaml index 5b2be8800..d388f4a8f 100644 --- a/promotion/promotion-application/src/main/resources/application.yaml +++ b/promotion/promotion-application/src/main/resources/application.yaml @@ -18,3 +18,12 @@ server: swagger: enable: false + + +management: + endpoints: + web: + exposure: + include: health,info,env,metrics,prometheus + metrics: + enabled: true diff --git a/search/search-application/src/main/resources/application.yaml b/search/search-application/src/main/resources/application.yaml index 8304ceb64..9f54ec3e5 100644 --- a/search/search-application/src/main/resources/application.yaml +++ b/search/search-application/src/main/resources/application.yaml @@ -18,3 +18,12 @@ server: swagger: enable: false + + +management: + endpoints: + web: + exposure: + include: health,info,env,metrics,prometheus + metrics: + enabled: true