diff --git a/src/main/java/org/ezcode/codetest/CodetestApplication.java b/src/main/java/org/ezcode/codetest/CodetestApplication.java index 227acf06..117997d9 100644 --- a/src/main/java/org/ezcode/codetest/CodetestApplication.java +++ b/src/main/java/org/ezcode/codetest/CodetestApplication.java @@ -6,7 +6,11 @@ import org.springframework.data.jpa.repository.config.EnableJpaAuditing; import org.springframework.scheduling.annotation.EnableScheduling; -@SpringBootApplication +@SpringBootApplication( + exclude = { + org.springframework.boot.actuate.autoconfigure.metrics.SystemMetricsAutoConfiguration.class + } +) @EnableJpaAuditing @EnableScheduling @EnableAspectJAutoProxy(proxyTargetClass = true) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 220e41b8..06db0400 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -169,16 +169,19 @@ app.redirect.verify.success=${APP_REDIRECT_VERIFY_SUCCESS:https://your-frontend. # 인증 실패 시 이동할 페이지 URL (예: 프론트의 실패 안내 페이지) app.redirect.verify.failure=${APP_REDIRECT_VERIFY_FAILURE:https://your-frontend.example.com/verify/failure} -# processor metrics (system.cpu, process.cpu) ?? +# processor metrics (system.cpu, process.cpu) management.metrics.enable.process.cpu=false management.metrics.enable.system.cpu=false -# process.uptime, process.start.time ?? +# process.uptime, process.start.time management.metrics.enable.process.uptime=false management.metrics.enable.process.start.time=false -# process.files ?? +# process.files management.metrics.enable.process.files=false -# JVM metrics ?? ?? -management.metrics.enable.jvm=fals +# JVM metrics +management.metrics.enable.jvm=false + +management.metrics.export.defaults.enabled=false +management.metrics.enable.all=false