Contributing
Run the demo locally
docker compose -f demo/docker-compose.yml up --build
Dashboard at http://localhost:8080 with synthetic metrics. No external infra needed.
Run backend tests
python -m venv .venv && source .venv/bin/activate
pip install -r requirements-dev.txt
pytest
Add a provider preset
- Create
app/config/providers/<name>.yamlwithname,latency_unit, andqueries. - Add a test service in
demo/sre.demo.yamlwithprovider: <name>and matchinglabels. - Verify the demo stack renders the new provider's panels correctly.
- Add the preset to the table in
README.md.
Add an SRE concept (Learn Mode)
- Add an entry to
frontend/src/content/concepts.tswithid,term,plain,computedAs,anchor. - Add the corresponding section to
CONCEPTS.md. - Place
<InfoTip conceptId="your_id" learnMode={learnMode} />next to the relevant label in the component.
Code style
- Backend:
rufffor linting, standard Python type hints. - Frontend: TypeScript strict, no
any, prefer inline styles (matching existing pattern). - No hardcoded hostnames, ports, or credentials — all config via env vars or
sre.yaml.