Skip to content

getsentry/sentry-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sentry

Bad software is everywhere, and we're tired of it. Sentry is on a mission to help developers write better software faster, so we can get back to enjoying technology. If you want to join us Check out our open positions

Sentry SDK for Java and Android

GH Workflow codecov Discord Chat

Packages Maven Central Minimum Android API Version
sentry-android Maven Central 19
sentry-android-core Maven Central 19
sentry-android-ndk Maven Central 19
sentry-android-okhttp Maven Central 21
sentry-android-timber Maven Central 19
sentry-android-fragment Maven Central 19
sentry-android-navigation Maven Central 19
sentry-android-sqlite Maven Central 19
sentry-android-replay Maven Central 26
sentry-compose-android Maven Central 21
sentry-compose-desktop Maven Central
sentry-compose Maven Central
sentry-apache-http-client-5 Maven Central
sentry Maven Central 19
sentry-jul Maven Central
sentry-jdbc Maven Central
sentry-apollo Maven Central 19
sentry-apollo-3 Maven Central 19
sentry-kotlin-extensions Maven Central 19
sentry-servlet Maven Central
sentry-servlet-jakarta Maven Central
sentry-spring-boot Maven Central
sentry-spring-boot-jakarta Maven Central
sentry-spring-boot-starter Maven Central
sentry-spring-boot-starter-jakarta Maven Central
sentry-spring Maven Central
sentry-spring-jakarta Maven Central
sentry-logback Maven Central
sentry-log4j2 Maven Central
sentry-bom Maven Central
sentry-graphql Maven Central
sentry-quartz Maven Central
sentry-openfeign Maven Central
sentry-opentelemetry-agent Maven Central
sentry-opentelemetry-agentcustomization Maven Central
sentry-opentelemetry-core Maven Central
sentry-okhttp Maven Central

Releases

This repo uses the following ways to release SDK updates:

  • Pre-release: We create pre-releases (alpha, beta, RC,…) for larger and potentially more impactful changes, such as new features or major versions.
  • Latest: We continuously release major/minor/hotfix versions from the main branch. These releases go through all our internal quality gates and are very safe to use and intended to be the default for most teams.
  • Stable: We promote releases from Latest when they have been used in the field for some time and in scale, considering time since release, adoption, and other quality and stability metrics. These releases will be indicated on the releases page (https://github.com/getsentry/sentry-java/releases/) with the Stable suffix.

Useful links and docs

Blog posts

Samples

Development

This repository includes sentry-native as a git submodule. To build against sentry-native checked-out elsewhere in your file system, create a symlink sentry-android-ndk/sentry-native-local that points to your sentry-native directory. For example, if you had sentry-native checked-out in a sibling directory to this repo:

ln -s ../../sentry-native sentry-android-ndk/sentry-native-local

which will be picked up by gradle and used instead of the git submodule. This directory is also included in .gitignore not to be shown as pending changes.

Sentry Self Hosted Compatibility

Since version 3.0.0 of this SDK, Sentry version >= v20.6.0 is required. This only applies to self-hosted Sentry, if you are using sentry.io no action is needed.

Since version 6.0.0 of this SDK, Sentry version >= v21.9.0 is required or you have to manually disable sending client reports via the sendClientReports option. This only applies to self-hosted Sentry, if you are using sentry.io no action is needed.

Since version 7.0.0 of this SDK, Sentry version >= 22.12.0 is required to properly ingest transactions with unfinished spans. This only applies to self-hosted Sentry, if you are using sentry.io no action is needed.

Resources

  • Java Documentation
  • Android Documentation
  • Discussions
  • Discord Chat
  • Stack Overflow
  • Code of Conduct
  • Twitter Follow