Skip to content

Commit

Permalink
⚙️ config: add prometheus to search server (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
seonghun-dev authored Jul 2, 2023
1 parent 249a267 commit f010623
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions backend/streetdrop-search/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ dependencies {
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.1'
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'

implementation 'org.springframework.boot:spring-boot-starter-actuator'
runtimeOnly 'io.micrometer:micrometer-registry-prometheus'
implementation 'io.micrometer:micrometer-core'
}

test {
Expand Down
10 changes: 10 additions & 0 deletions backend/streetdrop-search/src/main/resources/application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
management:
endpoints:
web:
exposure:
include: prometheus

logging:
level:
root: INFO
org.springframework.web: INFO

0 comments on commit f010623

Please sign in to comment.