getsentry / getsentry/sentry-java

Reporting errors through a Sentry Java Agent

Open
#2,480 5 comments 1 reaction 0 assignees View on GitHub
Errors Feature Java
Dominant language
Kotlin
Stars
1.4k
Forks
478
Avg merge
2d 23h
Merged PRs (30d)
67

Description

### Problem Statement

We rely on other libraries to offer some callbacks or require users to manipulate / wrap libraries for errors to be reported to Sentry. By using a Java Agent we could wrap calls and capture errors where there's no clean API to usually do so. We already do something similar for Android using sentry-android-gradle-plugin.

### Solution Brainstorm

A Sentry Java Agent similar to the OTEL agent. Maybe we can combine them so we don't have to figure out how to make them co-exist. Or we could offer a separate agent just for errors which uses common code that we can also leverage in the Sentry OTEL Java Agent.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.