diff --git a/build.gradle b/build.gradle index 843ea89..d558ba5 100644 --- a/build.gradle +++ b/build.gradle @@ -27,6 +27,8 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-web' testImplementation 'org.springframework.boot:spring-boot-starter-test' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' + implementation 'org.springframework.boot:spring-boot-starter-actuator' + // 롬복 compileOnly 'org.projectlombok:lombok' diff --git a/src/main/resources/application-dev.properties b/src/main/resources/application-dev.properties index 115a6ec..69092dd 100644 --- a/src/main/resources/application-dev.properties +++ b/src/main/resources/application-dev.properties @@ -29,6 +29,7 @@ logging.level.root=INFO logging.level.org.springframework.web=INFO logging.level.org.hibernate.SQL=ERROR +management.server.base-path=/actuator management.endpoints.web.exposure.include=health,prometheus management.endpoint.health.probes.enabled=true management.health.redis.enabled=false diff --git a/src/main/resources/application-prod.properties b/src/main/resources/application-prod.properties index 013bde8..17ff0ff 100644 --- a/src/main/resources/application-prod.properties +++ b/src/main/resources/application-prod.properties @@ -29,6 +29,7 @@ logging.level.root=INFO logging.level.org.springframework.web=INFO logging.level.org.hibernate.SQL=ERROR +management.server.base-path=/actuator management.endpoints.web.exposure.include=health,prometheus management.endpoint.health.probes.enabled=true management.health.redis.enabled=false @@ -43,4 +44,4 @@ spring.security.oauth2.client.registration.google.client-secret=${GOOGLE_CLIENT_ spring.security.oauth2.client.registration.google.redirect-uri=${GOOGLE_REDIRECT_URI} spring.security.oauth2.client.registration.google.authorization-grant-type=authorization_code spring.security.oauth2.client.provider.google.token-uri=https://oauth2.googleapis.com/token -spring.security.oauth2.client.provider.google.user-info-uri=https://www.googleapis.com/oauth2/v3/userinfo \ No newline at end of file +spring.security.oauth2.client.provider.google.user-info-uri=https://www.googleapis.com/oauth2/v3/userinfo