Skip to content

Commit

Permalink
🔨 - Add Sonar Scan
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Luisi committed May 23, 2024
1 parent 2cd78a8 commit c97b06f
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,28 @@ server:
management:
server:
port: 9090
security:
enabled: false
# security:
# enabled: false
endpoints:
# show-details: always
web:
exposure:
include: "*" # Expose all endpoints, you can customize this if needed
endpoint:
health:
show-details: always
prometheus:
prometheus:
enabled: true
health:
probes:
enabled: true
livenessState:
enabled: true
readinessState:
enabled: true

metrics:
tags:
application: ${spring.application.name}
export:
prometheus:
enabled: true # Enable Prometheus metrics endpoint


# Additional Actuator-specific configuration can be added here

0 comments on commit c97b06f

Please sign in to comment.