Sentry Dio는 Flutter/Dart 패키지로, Sentry를 Dio HTTP 클라이언트와 통합하여 네트워크 요청에 대한 성능 추적을 가능하게 합니다. 요청 및 응답 세부 정보(시간, 상태 코드, 오류 등)를 자동으로 캡처하여 API 성능에 대한 깊이 있는 통찰을 제공합니다. 이 통합은 개발자가 여러 플랫폼에서 실시간으로 문제를 모니터링하고 진단하는 데 도움을 줍니다. 기존의 Dio 설정과 원활하게 작동하며, 최소한의 구성만 필요합니다. Android, iOS, Web, macOS, Windows, Linux를 지원하여 강력한 모니터링이 필요한 크로스플랫폼 애플리케이션에 적합합니다.
사용 사례
API 성능 모니터링
HTTP 요청 오류 추적
느린 네트워크 호출 진단
기존 Dio 구현과의 통합
다중 플랫폼 간 실시간 오류 보고
주요 기능
자동 성능 추적
요청/응답 메타데이터 수집
무결점 디오 통합
크로스 플랫폼 지원
오류 및 지연 추적
적합한 대상
Dio를 사용하는 Flutter 앱
성능 모니터링에 집중하는 팀
실시간 오류 인사이트가 필요한 개발자
크로스플랫폼 모바일 및 웹 앱
세부적인 API 관찰이 필요한 응용 프로그램
고려 사항
Sentry SDK 설정이 필요합니다
페이로드 크기가 약간 증가할 수 있습니다
최적의 결과를 얻으려면 적절한 구성이 필요합니다
비-Dio HTTP 클라이언트에는 필요하지 않음
Sentry 백엔드 가용성에 따라 다름
원본 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.