Skip to content

Metrics Service ​

Overview ​

The Metrics Service calculates real-time derived metrics from live data sources flowing through OR. Rather than requiring the frontend to compute metrics from raw sensor data, this service centralises 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 normalisation to produce consistent, comparable values across the network.

User documentation for Optimal Reality