搜尋套件、儲存庫與 APP 分類

套件詳情v10.2.0

sentry

一個用於 Dart 的錯誤報告庫,可將錯誤報告發送到 Sentry.io。此庫支援 Dart VM 和 Web。對於 Flutter,請考慮使用 sentry_flutter。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
217萬
喜歡數
583
Pub 分數
160

安裝套件

flutter pub add sentry

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Sentry 是一個用於 Dart 的錯誤報告庫,可捕獲並傳輸執行時錯誤和例外狀況至 Sentry.io,讓開發人員能夠即時監控和除錯問題。它支援 Dart VM 和 Web 平台,提供詳細的堆疊追蹤、內容資料和效能洞察。該程式庫可無縫整合至 Dart 應用程式中,協助團隊快速識別和解決錯誤。對於 Flutter 應用,建議改用專用的 sentry_flutter 套件。

適用情境

  • 即時崩潰監控
  • Web 和伺服器端 Dart 中的錯誤追蹤
  • 性能問題檢測
  • 除錯生產問題
  • 與 Sentry.io 儀表板整合

主要特色

  • 跨平台支援(Web、VM)
  • 自動錯誤捕獲
  • 上下文和麵包屑日誌
  • 與 Sentry.io 後端整合
  • 自定義事件標記和過濾

適合對象

  • Dart 應用程式在 Web 與伺服器上
  • 使用 Sentry.io 進行監控的團隊
  • 需要崩潰分析的開發者
  • 需要詳細錯誤上下文的專案
  • 針對多個平台的應用程式

使用建議

  • 不適用於 Flutter 應用程式(請改用 sentry_flutter)
  • 需要 Sentry.io 帳戶和專案設定
  • 可能會稍微增加應用程式套件大小
  • 需要正確設定才能達到最佳效能
  • 與 sentry_flutter 相比,原生行動功能有限

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

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 Dart and Flutter

codecov

Package CI status Likes Downloads Analysis
sentry build likes dm pub points
sentry_flutter build likes dm pub points
sentry_logging build likes dm pub points
sentry_dio build likes dm pub points
sentry_link build likes dm pub points
sentry_file build likes dm pub points
sentry_sqflite build likes dm pub points
sentry_drift build likes dm pub points
sentry_hive build likes dm pub points
sentry_isar build likes dm pub points

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.

Usage

For detailed usage, check out the inner dart, flutter, logging, dio, file, sqflite, drift, hive and isar README's or our Resources section below.

Blog posts

Introducing Mobile Screenshots.

With Flutter and Sentry, You Can Put All Your Eggs in One Repo.

A Sanity Listicle for Mobile Developers.

Supporting Native Android Libraries Loaded From APKs.

Resources

  • Flutter docs
  • Dart docs
  • Discussions
  • Discord Chat
  • Stack Overflow
  • X Follow

Apple Privacy Manifest

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.

所屬分類

依賴

依賴清單 6 項

原始碼儲存庫

使用此套件的專案

所在榜單