Skip to content

Commit

Permalink
Open up actuator entry points for discovery and config services
Browse files Browse the repository at this point in the history
  • Loading branch information
groldan committed Dec 7, 2021
1 parent c464701 commit 761be31
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
17 changes: 17 additions & 0 deletions support-services/config/src/main/resources/bootstrap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,23 @@ eureka:
healthcheck:
enabled: false

management:
endpoints:
enabled-by-default: true
web.exposure.include: "*"
endpoint:
info.enabled: true
metrics.enabled: true
shutdown.enabled: true
health:
enabled: true
show-details: always
metrics:
enable:
all: true
export:
atlas.enabled: false

logging:
level:
# Avoid log flooding with "INFO Adding property source: file:<...>/application.yml" triggered by the actuator health check
Expand Down
18 changes: 18 additions & 0 deletions support-services/discovery/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,24 @@ eureka:
fetchRegistry: false
serviceUrl:
defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/

management:
endpoints:
enabled-by-default: true
web.exposure.include: "*"
endpoint:
info.enabled: true
metrics.enabled: true
shutdown.enabled: true
health:
enabled: true
show-details: always
metrics:
enable:
all: true
export:
atlas.enabled: false

logging:
level:
root: INFO
Expand Down

0 comments on commit 761be31

Please sign in to comment.