Skip to content

Commit

Permalink
Add actuator health endpoints
Browse files Browse the repository at this point in the history
  • Loading branch information
Isti01 committed Sep 24, 2024
1 parent 18f3881 commit f2bfa50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ open class SecurityConfig(
antMatcher("/scanner.css"),
antMatcher("/redirect/beacon"),
antMatcher("/actuator/prometheus"),
antMatcher("/actuator/health/liveness"),
).permitAll()

it.requestMatchers(
Expand Down
1 change: 1 addition & 0 deletions backend/src/main/resources/config/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ hu.bme.sch.cmsch.startup.increased-session-time=172800

spring.jackson.serialization.indent-output=false

management.endpoint.health.probes.enabled=true
management.endpoints.web.exposure.include=*
management.prometheus.metrics.export.histogram-flavor=victoriametrics
spring.jpa.properties.hibernate.generate_statistics=true
Expand Down

0 comments on commit f2bfa50

Please sign in to comment.