Created
March 17, 2022 02:59
-
-
Save alexandremucci/201469fccfa1f08beddbd25ff8a292d5 to your computer and use it in GitHub Desktop.
Basic set of properties to be used when adding Spring Boot Actuator to a Spring Boot Project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##################################################################################################################### | |
# Spring Boot Actuator settings | |
# port used to expose actuator | |
management.server.port=8081 | |
# CIDR allowed to hit actuator | |
management.server.address=127.0.0.1 | |
# block access to all endpoints over JMX | |
management.endpoints.jmx.exposure.exclude=* | |
# enable explicitly only the endpoints you want to expose | |
management.endpoints.web.exposure.include=health | |
# disable actuator discovery page | |
management.endpoints.web.discovery.enabled=false | |
##################################################################################################################### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment