pyrra
pyrra copied to clipboard
Optimize SLO performance with subquery-based calculations
Summary
Introduce subquery-based calculations for improved performance while maintaining ~99% accuracy. This adds a new PerformanceOverAccuracy option that, when enabled, uses Prometheus subqueries with 5-minute step intervals to reduce query complexity and improve performance.
Changes
- Add PerformanceOverAccuracy field to ServiceLevelObjective spec
- Implement subquery expression handling in PromQL replacer
Closes #1440