Skip to content

Commit

Permalink
chore: 모니터링 환경 설정 추가 (#64)
Browse files Browse the repository at this point in the history
* chore: 로컬에 osiv 설정 끄기

* chore: 프로메테우스 설정 추가
  • Loading branch information
3Juhwan authored Feb 8, 2025
1 parent 9121e25 commit 3b7af1e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ repositories {
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'io.micrometer:micrometer-registry-prometheus'
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'com.h2database:h2'
runtimeOnly 'com.mysql:mysql-connector-j'
Expand Down
7 changes: 7 additions & 0 deletions src/main/resources/application-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ spring:
database-platform: org.hibernate.dialect.H2Dialect
hibernate:
ddl-auto: create-drop
open-in-view: false
properties:
hibernate:
dialect: org.hibernate.dialect.H2Dialect
Expand All @@ -33,3 +34,9 @@ logging:
app:
scheduling:
enabled: true

management:
endpoints:
web:
exposure:
include: prometheus, health

0 comments on commit 3b7af1e

Please sign in to comment.