Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] actuator propperties #28

Merged
merged 1 commit into from
Apr 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 4 additions & 13 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,10 @@ management.endpoints.web.path-mapping.prometheus="metrics"
management.metrics.tags.application=transfer-service

# Actuator
# 1. Endpoint all disable
management.endpoints.enabled-by-default = false

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

# 3. Exclude all endpoint for JMX and Expose specific endpoints
management.endpoints.jmx.exposure.exclude = *
management.endpoints.web.exposure.include = info, health

# 4. Use other port for Actuator
management.server.port = 9101

# 5. Change Actuator Default path
management.endpoints.web.base-path = /myActuator
# Expose specific endpoints
management.endpoints.web.exposure.include = health, info, metrics, prometheus
Loading