Skip to content

Commit f066cb0

Browse files
committed
ChwitKey#122 feat: spring-actuator, prometheus 연동을 위한 yml 설정
1 parent fe78663 commit f066cb0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ dependencies {
4242
implementation 'com.theokanning.openai-gpt3-java:service:0.12.0'
4343
// actuator
4444
implementation 'org.springframework.boot:spring-boot-starter-actuator'
45+
// prometheus
46+
implementation 'io.micrometer:micrometer-registry-prometheus'
4547
// swagger
4648
implementation 'org.springdoc:springdoc-openapi-ui:1.6.15'
4749
// s3 bucket

src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ cloud:
7070

7171
management:
7272
server:
73-
port: 9292
73+
port: 9090
7474
endpoint:
7575
shutdown:
7676
enabled: true # shutdown endpoint 활성화

0 commit comments

Comments
 (0)