diff --git a/app.json b/app.json new file mode 100644 index 0000000..d59b1ad --- /dev/null +++ b/app.json @@ -0,0 +1,14 @@ +{ + "healthchecks": { + "web": [ + { + "type": "readiness", + "name": "web check", + "description": "Checking if the app responds to the /actuator/health/readiness endpoint", + "path": "/actuator/health/readiness", + "port": 8761, + "attempts": 3 + } + ] + } +} diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index c52ae3a..7de9289 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -10,6 +10,12 @@ logging: com.netflix.eureka: OFF com.netflix.discovery: OFF +management: + endpoint: + health: + probes: + enabled: true + sentry: dsn: https://354321d371291036cffcdb5b1a72fd6e@o394865.ingest.us.sentry.io/4507718826262528 environment: eureka-service