Metric Architecture
PlaneConnection analytics are built on two data layers:
Pre-computed aggregates store daily metric values with optional dimension breakdowns (by aircraft, crew member, route, or customer). Live queries are used for the Data Explorer and drill-down views.
Fleet Metrics
Fleet Dimensions
Crew Metrics
Crew Dimensions
Financial Metrics
Financial Dimensions
Customer Metrics
Route Metrics
Anomaly Detection
The anomaly engine evaluates the following conditions at page load:AI Insights
AI-generated insights are stored in theanalytics_insights table and categorized as:
Each insight includes a severity (info, warning, critical), a metric reference, a threshold value, and an optional action URL linking to the relevant page for resolution.
Data Explorer
The Data Explorer provides access to the following data sets for ad-hoc queries:
Data covers the last 90 days. Queries run entirely in the browser with no server roundtrips.
Natural-Language Queries
The Ask Copilot feature maintains a history of your queries. Each entry records:- The natural-language question asked
- The generated query and its results summary
- Execution time and row count
- Whether the query executed successfully