Commit 1ae586d
feat: Epic 6.2 - SLO module with error budgets, burn rates, and MCP tool
- SLOTarget dataclass with validation, ErrorBudget with float-tolerant exhaustion
- BurnRateCalculator with Google SRE multi-window alerting model
- SLOEvaluator reads from MetricsRegistry via Prometheus .collect() API
- 3 default targets: latency_p99 <30s, error_rate <5%, availability >99%
- check_slos MCP tool (8 total tools)
- 35+ new tests (1,858 total passed)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 9a6acd2 commit 1ae586d
9 files changed
Lines changed: 765 additions & 16 deletions
File tree
- openspace
- mcp
- observability
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
547 | 547 | | |
548 | 548 | | |
549 | 549 | | |
550 | | - | |
551 | | - | |
| 550 | + | |
| 551 | + | |
552 | 552 | | |
553 | 553 | | |
554 | 554 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
829 | 829 | | |
830 | 830 | | |
831 | 831 | | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
832 | 846 | | |
833 | 847 | | |
834 | 848 | | |
| |||
845 | 859 | | |
846 | 860 | | |
847 | 861 | | |
| 862 | + | |
| 863 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | | - | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
16 | 18 | | |
17 | 19 | | |
18 | 20 | | |
| 21 | + | |
19 | 22 | | |
0 commit comments