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

套件詳情v25.7.0

appdynamics_agent

Flutter 插件,用於將 AppDynamics 移動端真實使用者監控整合至您的應用程式中。

AndroidiOS
近 30 天下載
6080
喜歡數
20
Pub 分數
120

安裝套件

flutter pub add appdynamics_agent

套件介紹

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

appdynamics_agent 套件是 Flutter 插件,可將 AppDynamics 移動端真實使用者監控(RUM)整合至 Android 與 iOS 應用程式中。它透過收集載入時間、網路請求與當機等指標,提供應用程式效能、使用者體驗與執行時錯誤的即時可視性。開發者可從 AppDynamics 控制面板直接監控使用者會話、追蹤交易並識別瓶頸。此套件設計為設定順暢且程式碼變更極少,支援兩個平台。它透過可操作的洞見協助團隊提升應用品質與回應速度。

適用情境

  • 監控生產環境中的應用效能
  • 追蹤使用者會話行為
  • 檢測和診斷執行時錯誤
  • 分析網絡請求性能
  • 基於真實數據改善使用者體驗

主要特色

  • 即時移動RUM分析
  • 跨平台支援(Android 與 iOS)
  • 最小整合工作量
  • 會話和事務追蹤
  • 崩潰和錯誤監控

適合對象

  • 使用 AppDynamics 的移動開發團隊
  • 需要深入性能洞察的應用程式
  • 專注於使用者體驗優化的團隊
  • 企業級監控需求
  • 具有可觀測性的持續交付管道

使用建議

  • 需要 AppDynamics 帳戶和許可證
  • 遙測收集帶來的額外開銷
  • 需要正確設定以避免過多資料量
  • 可能需要後端設定才能完全使用所有功能
  • 使用者資料的隱私合規考量

原始 README

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

Pub Version

AppDynamics Flutter Plugin

Extension of the AppDynamics SDK that allows you to instrument Flutter apps and receive analytics.

This plugin wraps the native SDKs and requires a valid AppDynamics mobile license.

Features

The Flutter agent incorporates the following features:

  • Network request tracking via the TrackedHTTPClient and RequestTracker classes.
  • Automatic crash reporting and CrashReportCallback for extra crash report configuration.
  • Screen tracking via NavigationObserver and WidgetTracker.
  • Automatic detection and reporting of the app-is-not-responding cases (ANR).
  • SessionFrame mechanism to track custom user flows in the app.
  • Errors and custom metrics reporting.
  • Automatic capture of screenshots and user touch-points (iOS only).
  • Custom user data on network requests, crash reports, or sessions.
  • Report breadcrumbs to track UI widgets or custom user interactions.
  • Timers to track events that span across multiple methods.
  • Mark method execution as info points.
  • Split app instrumentation into multiple sessions.
  • Automatically report device metrics (memory, storage, battery) and connection transition events.

Getting started

Installation

You can install the Flutter plugin via flutter — more info on the Installation tab.

$ flutter pub add appdynamics_agent

Extra configuration for Android apps:

  1. Add the following changes to android/build.gradle:
dependencies {
    classpath "com.appdynamics:appdynamics-gradle-plugin:24.12.0"
    // ... other dependencies
}
  1. Apply the adeum plugin to the bottom of the android/app/build.gradle file:
dependencies {
    // ... project dependencies
}

// Bottom of file
apply plugin: 'adeum'
  1. Add the following permissions to your AndroidManifest.xml (usually in android/src/main/):
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.myawesomepackage">

    <!-- add these two permissions -->
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

    <!-- other permissions -->

    <application>
        <!-- other settings -->
    </application>
</manifest>

Start instrumentation

NOTE: Replace <EUM_APP_KEY> with your app key.

import 'package:appdynamics_agent/appdynamics_agent.dart';
import 'package:flutter/material.dart';

Future<void> main() async {
  WidgetsFlutterBinding.ensureInitialized();

  final config = AgentConfiguration(
      appKey: "<EUM_APP_KEY>",
      loggingLevel: LoggingLevel.verbose, // optional, for better debugging.
      collectorURL: "<COLLECTOR_URL>", // optional, mostly on-premises. 
      screenshotURL: "<SCREENSHOT_URL>" // optional, mostly on-premises.
  );
  await Instrumentation.start(config);

  runApp(const MyApp());
}

Docs

You can access pub.dev docs or check the official docs for extra customization of the agent.

所屬分類

依賴

依賴清單 2 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。