Skip to content

Commit

Permalink
[config] fix actuator config
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan-sh-lee committed Apr 21, 2024
1 parent e86d106 commit da75b74
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,5 @@ spring.flyway.user=${MYSQL_USER}
spring.flyway.password=${MYSQL_PASSWORD}
spring.flyway.baseline-on-migrate=true

# metric
management.endpoints.web.path-mapping.prometheus="metrics"
management.metrics.tags.application=transfer-service

# Actuator
# Enable specific endpoints
management.endpoint.info.enabled = true
management.endpoint.health.enabled = true
management.endpoint.prometheus.enabled=true

# Expose specific endpoints
management.endpoints.web.exposure.include = health, info, metrics, prometheus
management.endpoints.web.exposure.include = health, metrics, prometheus

0 comments on commit da75b74

Please sign in to comment.