パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v10.2.0

sentry_dio

Dioパッケージのパフォーマンストレーシングをサポートする統合。

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
27.3万
いいね数
48
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 件

ソースリポジトリ

このパッケージを使用しているプロジェクト