Add actuator and micrometer

This commit is contained in:
Menci
2024-12-07 02:32:48 +08:00
parent 8434842c65
commit db5343fba3
2 changed files with 9 additions and 0 deletions

View File

@@ -33,3 +33,8 @@ spring.jpa.hibernate.ddl-auto=none
# https://github.com/termstandard/colors#truecolor-support-in-output-devices
# If you want to read the logs using a script, read the json logs in `logs` folder instead.
spring.output.ansi.enabled=always
# Metrics
management.server.port=8081
management.endpoint.prometheus.enabled=true
management.endpoints.web.exposure.include=prometheus