pyrra icon indicating copy to clipboard operation
pyrra copied to clipboard

Optimize SLO performance with subquery-based calculations

Open metalmatze opened this issue 5 months ago • 0 comments

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

metalmatze avatar Oct 24 '25 14:10 metalmatze