faro
0.18.0, released 3 weeks ago by grafana.com
Grafana Faro SDK for Flutter applications to collect telemetry and monitor performance.
What it does
The Grafana Faro Flutter SDK enables real user monitoring (RUM) for mobile applications by instrumenting Flutter apps to collect telemetry. It captures device information, application details, performance metrics, errors, user interactions, and HTTP network monitoring.
AI-written summary of version 0.18.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to monitor Flutter app performance and track errors using the Faro protocol.
- You need to capture user sessions, interactions, and HTTP network telemetry.
Skip it when
- You require an official dedicated mobile observability product from Grafana.
- You need custom transports that act as replay destinations for cached offline telemetry.
Strengths
- Automatic capture of Flutter errors and exceptions.
- Built-in offline support with caching of events when offline.
- Tracks performance metrics including CPU, memory usage, and ANR detection.
Weaknesses
- GrafanaFrontend Observability is built for web applications and there is no dedicated mobile observability product from Grafana.
- Custom transports are no longer replay destinations.
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 12
Requires adding the dependency and initializing Faro in your application entry point, with optional HTTP overrides configuration.
HttpOverrides.global = FaroHttpOverrides(HttpOverrides.current);
Faro().runApp(
optionsConfiguration: FaroConfig(
appName: "<App_Name>",
appVersion: "1.0.0",
appEnv: "Production",
apiKey: "<API_KEY>",
collectorUrl: "faro receiver endpoint"
),
appRunner: () => runApp(
FaroAssetTracking(
child: FaroUserInteractionWidget(child: MyApp())
)
),
);Alternatives
Packages that do the same job and could replace faro.
- appsflyer_sdk
Flutter plugin for the AppsFlyer mobile attribution and analytics SDK.
88Compare - singular_flutter_sdk
A Flutter plugin for the Singular SDK to track events, revenue, and deep links.
66Compare - repro_flutter
A plugin for using the Repro Android/iOS SDK in Flutter applications.
65Compare - pendo_sdk
Flutter plugin wrapping Pendo's native SDK for in-app surveys and analytics.
76Compare
Works with
Packages commonly used together with faro: ones it builds on, ones built on it, and its own family.
- uuidfaro depends on itGenerates and parses RFC‑4122/9562 UUIDs (v1‑v8) for Dart.
- fixnumfaro depends on itProvides 32‑ and 64‑bit signed fixed‑width integer types for Dart.
- plugin_platform_interfacefaro depends on itReusable base class for platform interfaces of Flutter federated plugins.
- path_providerfaro depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- shared_preferencesfaro depends on itFlutter plugin for reading and writing simple key-value pairs. Wraps NSUserDefaults on iOS and SharedPreferences on Android.
- package_info_plusfaro depends on itFlutter plugin to query app package info like version, build number and installer store.
- equatablefaro depends on itProvides value‑based equality for Dart objects without manual == and hashCode.
- device_info_plusfaro depends on itProvides detailed information about the current device, make, model, and OS version.