From fa89766659ff6f70116e1bea887d27834d4fb8f9 Mon Sep 17 00:00:00 2001 From: seokjin8678 Date: Thu, 18 Apr 2024 18:04:00 +0900 Subject: [PATCH] =?UTF-8?q?build:=20Spring=20Actuator,=20Prometheus=20?= =?UTF-8?q?=EC=9D=98=EC=A1=B4=EC=84=B1=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/build.gradle.kts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/backend/build.gradle.kts b/backend/build.gradle.kts index 3cf8f4742..8fc465a7f 100644 --- a/backend/build.gradle.kts +++ b/backend/build.gradle.kts @@ -36,6 +36,7 @@ dependencies { implementation("org.springframework.boot:spring-boot-starter-web") implementation("org.springframework.boot:spring-boot-starter-thymeleaf") implementation("org.springframework.boot:spring-boot-starter-mail") + implementation("org.springframework.boot:spring-boot-starter-actuator") implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:${swaggerVersion}") // Spring Security @@ -79,6 +80,9 @@ dependencies { annotationProcessor("org.projectlombok:lombok") testCompileOnly("org.projectlombok:lombok") testAnnotationProcessor("org.projectlombok:lombok") + + // Micrometer + runtimeOnly("io.micrometer:micrometer-registry-prometheus") } tasks.test {