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

套件詳情v10.4.0

sentry_dio

一個為 Dio 包添加效能追蹤支援的整合。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
29萬
喜歡數
49
Pub 分數
160

安裝套件

flutter pub add sentry_dio

套件介紹

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

Sentry Dio 是一個 Flutter/Dart 套件,將 Sentry 與 Dio HTTP 客戶端整合,以啟用網路請求的效能追蹤。它會自動捕捉請求與回應的詳細資料,包含時間、狀態碼與錯誤,提供 API 性能的深入洞察。此整合幫助開發者在多個平台即時監控與診斷問題。該套件設計為可與現有的 Dio 設定無縫運作,設定需求極少。它支援 Android、iOS、Web、macOS、Windows 和 Linux,非常適合需要強大監控功能的跨平台應用。

適用情境

  • 監控 API 性能
  • 追蹤 HTTP 請求錯誤
  • 診斷緩慢的網路呼叫
  • 與現有 Dio 實現整合
  • 跨平台即時錯誤報告

主要特色

  • 自動性能追蹤
  • 請求/響應元數據收集
  • 無縫整合 Dio
  • 跨平台支援
  • 錯誤和延遲追蹤

適合對象

  • 使用 Dio 的 Flutter 應用
  • 專注於效能監控的團隊
  • 需要即時錯誤洞察的開發人員
  • 跨平台移動和網頁應用
  • 需要詳細 API 可觀察性的應用程式

使用建議

  • 需要設置 Sentry SDK
  • 可能會稍微增加有效載荷大小
  • 需要正確設定才能獲得最佳效果
  • 非 Dio HTTP 客戶端不需要
  • 依賴於 Sentry 後端的可用性

原始 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.

所屬分類

依賴

依賴清單 2 項

原始碼儲存庫

使用此套件的專案