This project is a simple Spring Boot application used to demonstrate error handling and monitoring in a minimal viable way.
Sentry already provides a wizard to setup your application, you can select Logback.
I assume you have Maven and Java 25 setup.
If not installed, you can always mise
mise use -g java@zulu-25.30.17.0
mise use -g mavenSign up for a Sentry demo account.
Look for the DSN value as it will be set in an environment variable SENTRY_AUTH_TOKEN.
It would look something like this:
https://1234999999.ingest.de.sentry.io/88888888888888mvn clean package
cat ./scripts/start-with-sentry.sh
export SENTRY_DSN=https://YOUR_PERSONAL_DSN
./scripts/start-with-sentry.shYou can simply click on this link which will cause a division by zero error: http://localhost:8080/api/divide?by=0
You can simply click on this link which will cause a division by zero error: http://localhost:8080/api/sqlerror



