-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathproject-overview.mdc
More file actions
54 lines (36 loc) · 1.46 KB
/
project-overview.mdc
File metadata and controls
54 lines (36 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
---
description: Faro Flutter project overview
globs:
alwaysApply: false
---
# Faro Flutter SDK
## Project Overview
This is a Flutter SDK that implements the Grafana Faro protocol for mobile observability. It allows Flutter applications to send monitoring data to Grafana Cloud, providing comprehensive insights into app performance, user interactions, errors, and more.
## Key Components
### Main Packages
- **faro**: The core SDK that implements the Grafana Faro protocol and handles collecting and sending data
### Features
- Performance monitoring (CPU, memory, app startup time)
- Exception and error tracking
- User interaction tracking
- Network request monitoring
- Session tracking
- Custom events and measurements
### Technical Details
- Implements the Grafana Faro protocol
- Uses OpenTelemetry for tracing
- Provides platform-specific implementations for iOS and Android
- Supports configurable data collection policies
## Integration
The SDK is designed to be integrated into Flutter applications with minimal configuration:
1. Add the SDK as a dependency
2. Initialize with configuration (API key, collector URL)
3. Wrap the app in monitoring widgets
## Data Flow
1. SDK collects app and device metadata
2. Monitors app performance and user interactions
3. Formats data according to Faro protocol
4. Batches and sends telemetry to Grafana Cloud
## Project Structure
- `packages/faro`: Core SDK implementation
- `docs/`: Documentation for usage and configuration