Spring Boot with AllStak

AllStak accepts Sentry wire-protocol events. Use the maintained official Sentry SDK for Spring Boot; an AllStak-specific SDK is not required.

Source repository:
getsentry/sentry-java
Source README:
README.md
SDK version:
current
Installation source:
Maven Central
Last verified:
2026-08-12

Installation

Install the official Sentry package from its normal registry.

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

Configuration

Copy the DSN from AllStak project setup and initialize Sentry as early as your framework recommends.

sentry.dsn={{DSN}}
sentry.environment=production
[email protected]

Basic example

Send the official SDK's test event, then confirm it appears in the matching AllStak project and environment before rollout.

Capturing errors

Use the official Sentry captureException API for handled failures. Unhandled-error behavior follows the selected official integration.

Tracking requests

Enable only the official integrations and sampling options that AllStak currently certifies for this runtime; review the compatibility matrix before enabling optional signals.

Best practices

  • Keep the AllStak DSN in environment or runtime configuration, not hard-coded in source.
  • Set environment and release consistently so events remain attributable during migration.
  • Run old and new SDKs together only for a bounded validation window; duplicate events can otherwise affect volume and grouping.