Skip to content
pubscout

faro

0.18.0, released 3 weeks ago by grafana.com

Grafana Faro SDK for Flutter applications to collect telemetry and monitor performance.

$ flutter pub add faro
Source repository

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.

Works with

Packages commonly used together with faro: ones it builds on, ones built on it, and its own family.