Appearance
Metrics Service
Overview
The Metrics Service calculates real-time derived metrics from live data sources flowing through the platform. Rather than requiring the frontend to compute metrics from raw sensor data, this service centralizes the calculation logic, computing aggregated metrics such as average speeds, volumes, and network performance indicators.
The service subscribes to data change events and runs updated calculations continuously, writing results to Redis for consumption by the frontend and downstream services. It handles complex aggregations that require weighted calculations and normalization to produce consistent, comparable values across the network.
Related Services
- Experiment Manager — Data change event subscriptions
- Data Fusion — Provides fused live data for metrics calculation
- Sim Metrics — Calculates equivalent metrics from simulation outputs
- Simulation Validation — Compares actual metrics against simulated metrics
- Baseline Manager — Provides baseline data for variance calculation
