Sentry는 Dart용 크래시 보고 라이브러리로, 런타임 오류와 예외를 Sentry.io로 캡처하고 전송하여 개발자가 실시간으로 문제를 모니터링하고 디버깅할 수 있도록 합니다. Dart VM 및 웹 플랫폼을 지원하며, 상세한 스택 트레이스, 컨텍스트 데이터 및 성능 인사이트를 제공합니다. 이 라이브러리는 Dart 애플리케이션에 원활하게 통합되어 팀이 버그를 신속하게 식별하고 해결하는 데 도움을 줍니다. Flutter 앱의 경우, 대신 전용 sentry_flutter 패키지를 사용하는 것이 권장됩니다.
사용 사례
실시간 크래시 모니터링
웹 및 서버 측 Dart에서의 오류 추적
성능 문제 탐지
생산 문제 디버깅
Sentry.io 대시보드와의 통합
주요 기능
크로스 플랫폼 지원 (웹, VM)
자동 오류 캡처
컨텍스트 및 브레드크럼 로깅
Sentry.io 백엔드와의 통합
사용자 정의 이벤트 태깅 및 필터링
적합한 대상
웹 및 서버에서의 Dart 애플리케이션
모니터링에 Sentry.io를 사용하는 팀
크래시 분석이 필요한 개발자
세부 오류 컨텍스트가 필요한 프로젝트
다중 플랫폼 대상 애플리케이션
고려 사항
Flutter 앱용이 아님 (대신 sentry_flutter 사용)
Sentry.io 계정 및 프로젝트 설정이 필요합니다
앱 번들 크기를 약간 증가시킬 수 있습니다
최적의 성능을 위해 적절한 구성이 필요합니다
sentry_flutter에 비해 네이티브 모바일 기능이 제한적
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
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 Dart and Flutter
Package
CI status
Likes
Downloads
Analysis
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-dart/releases/) with the Stable suffix.
Starting with May 1st 2024, iOS apps are required to declare approved reasons to access certain APIs. This also includes third-party SDKs.
If you are using sentry-flutter, update to at least version 7.17.0 to get the updated sentry-cocoa native iOS/macOS SDK, supporting the privacy manifest.
All other used dependencies with file declarations are supported by Sentry packages.
Run flutter pub upgrade to the latest compatible versions of all the dependencies.
SDK Size Overhead
The Sentry SDKs for Dart and Flutter typically add approximately 1-1.5 MB to an app’s binary size. The exact impact may vary depending on the device architecture.