From 70d39cf62dcaf9047c37c15927163cb20357b06d Mon Sep 17 00:00:00 2001 From: Jeyong Date: Sat, 6 Dec 2025 19:01:54 +0900 Subject: [PATCH 1/3] =?UTF-8?q?chore:=20=EB=AA=A8=EB=8B=88=ED=84=B0?= =?UTF-8?q?=EB=A7=81=EC=9D=84=20=EC=9C=84=ED=95=9C=20metric=20=EB=B0=8F=20?= =?UTF-8?q?prometheus=20=EC=97=94=EB=93=9C=ED=8F=AC=EC=9D=B8=ED=8A=B8=20?= =?UTF-8?q?=EA=B0=9C=EB=B0=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 17757ec..0a3c803 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -26,7 +26,7 @@ management: default: none web: exposure: - include: health, info + include: health, info, metrics, prometheus server: port: ${SERVER_PORT:8090} From b84a3dd66b83a2b04af0bc8260ee3d1101bc434e Mon Sep 17 00:00:00 2001 From: Jeyong Date: Sat, 6 Dec 2025 19:05:05 +0900 Subject: [PATCH 2/3] =?UTF-8?q?chore:=20=EB=AA=A8=EB=8B=88=ED=84=B0?= =?UTF-8?q?=EB=A7=81=EC=9D=84=20=EC=9C=84=ED=95=9C=20metric=20=EB=B0=8F=20?= =?UTF-8?q?prometheus=20=EC=97=94=EB=93=9C=ED=8F=AC=EC=9D=B8=ED=8A=B8=20?= =?UTF-8?q?=EA=B0=9C=EB=B0=A9=20(=EC=9D=98=EC=A1=B4=EC=84=B1=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20=EB=B0=8F=20expose=20=EC=88=98=EC=A0=95)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 1 + src/main/resources/application.yml | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/build.gradle b/build.gradle index 28f83ab..b8ffdd6 100644 --- a/build.gradle +++ b/build.gradle @@ -36,6 +36,7 @@ dependencies { implementation 'org.springframework.security:spring-security-crypto' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'io.micrometer:micrometer-tracing-bridge-brave' + implementation 'io.micrometer:micrometer-registry-prometheus' implementation 'io.zipkin.reporter2:zipkin-reporter-brave' implementation 'me.paulschwarz:spring-dotenv:4.0.0' implementation 'org.springframework.cloud:spring-cloud-starter-openfeign' diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 0a3c803..8cd4ba1 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -21,12 +21,19 @@ management: access: read_only health: access: read_only + metrics: + access: read_only + prometheus: + access: read_only endpoints: access: default: none web: exposure: include: health, info, metrics, prometheus + metrics: + tags: + application: core-banking server: port: ${SERVER_PORT:8090} From 937fc67f193bbd1a3ebd1de8cc5d68c19b0f472c Mon Sep 17 00:00:00 2001 From: Jeyong Date: Sat, 6 Dec 2025 19:12:16 +0900 Subject: [PATCH 3/3] =?UTF-8?q?chore:=20PR=20Review=20=EB=B3=B4=EC=95=88?= =?UTF-8?q?=EC=9D=84=20=EC=9C=84=ED=95=9C=20metrics=20=EC=97=94=EB=93=9C?= =?UTF-8?q?=ED=8F=AC=EC=9D=B8=ED=8A=B8=20=EB=85=B8=EC=B6=9C=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 8cd4ba1..1cd215b 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -30,7 +30,7 @@ management: default: none web: exposure: - include: health, info, metrics, prometheus + include: health, info, prometheus metrics: tags: application: core-banking