Java and Kotlin

Install io.sentry:sentry-spring-boot-starter-jakarta

Spring Boot has a starter; plain Java uses io.sentry:sentry. Android uses sentry-android with the same DSN.

1Spring Boot

pom.xml
<dependency>
  <groupId>io.sentry</groupId>
  <artifactId>sentry-spring-boot-starter-jakarta</artifactId>
  <version>8.0.0</version>
</dependency>
application.properties
sentry.dsn=https://<public key>@in.blipit.io/<project id>
sentry.environment=production
sentry.traces-sample-rate=0.2

2Plain Java

java
Sentry.init(options -> {
  options.setDsn("https://<public key>@in.blipit.io/<project id>");
  options.setEnvironment("production");
});
Sentry.captureMessage("Hello from Java");

3Check it works

Open Issues in app.blipit.io. The first event appears within a few seconds, grouped into an issue, and the people in charge get an email.

Stuck? Email support@blipit.io. Keys and the exact DSN for each project are under API keys in app.blipit.io.