Skip to content

Feat/712 713 714 727 slo grafana api spec (conflict resolved) - #801

Merged
hman38705 merged 5 commits into
mainfrom
feat/712-713-714-727-slo-grafana-api-spec
May 28, 2026
Merged

Feat/712 713 714 727 slo grafana api spec (conflict resolved)#801
hman38705 merged 5 commits into
mainfrom
feat/712-713-714-727-slo-grafana-api-spec

Conversation

@hman38705

Copy link
Copy Markdown
Contributor

Resolves test.yml merge conflict from PR #791.

Dev-Vik-Tor and others added 5 commits May 28, 2026 13:34
…tion

- Create slo-thresholds.js with centralized SLO threshold configuration
- Update all k6 tests to use getThresholdsForTest() for consistent SLO enforcement
- Add checkThresholdBreaches() utility for threshold validation
- Tests now fail CI if SLO thresholds are breached
- Thresholds derived from performance/config/slo.json
- Add saveErrorBudgetSnapshot() to persist error budget snapshots with timestamps
- Add loadErrorBudgetHistory() to load all historical snapshots
- Add calculateErrorBudgetTrend() to analyze error budget trends over N runs
- Update calculate-error-budget.js to save snapshots automatically
- Add displayErrorBudgetTrend() to compare-results.js for trend visualization
- Snapshots stored in .performance-baselines/ with ISO timestamps
- Trend analysis shows improving/degrading/stable status per SLO
- Create grafana-provisioning.yaml for automatic dashboard loading on startup
- Add export-grafana-dashboards.js script to export dashboards from Grafana UI
- Update performance/config/README.md with provisioning setup instructions
- Add Docker Compose and Kubernetes examples for provisioning
- Document dashboard update workflow for version control
- Dashboards now version-controlled and tracked in git
- Update docs/README.md with dashboard management reference
- Create generate-api-spec.js script to generate API_SPEC.md from openapi.yaml
- Script supports --check mode to verify sync in CI
- Add documentation-sync job to test.yml workflow
- CI fails if API_SPEC.md is out of sync with openapi.yaml
- Regenerate API_SPEC.md from current openapi.yaml
- openapi.yaml is now single source of truth for API documentation
@hman38705
hman38705 merged commit f2c6e58 into main May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants