Skip to content

Commit 2a8ab4f

Browse files
hyesungohdevxb
andauthored
chore: set actuator health (#157)
Co-authored-by: devxb <develxb@gmail.com> Co-authored-by: hyesungoh <haesungoh414@gmail.com>
1 parent ea6147b commit 2a8ab4f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/resources/application.properties

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,11 @@ openai.project=
3737
openai.organization-id=
3838

3939
spring.application.name=api.gitanimals
40-
management.endpoints.web.exposure.include=prometheus
40+
management.endpoints.web.exposure.include=health,prometheus
4141
management.metrics.tags.application=${spring.application.name}
42+
management.endpoint.health.show-details=never
43+
management.health.defaults.enabled=false
44+
management.health.ping.enabled=true
4245

4346
slack.token=xoxb-???
4447

@@ -55,3 +58,4 @@ tokenizer.api.key=foo
5558

5659
quiz.approve.token=
5760
relay.approve.token=
61+

0 commit comments

Comments
 (0)