How jefflenard007-jj/reliability-platform works
This repository is a cloud-native reliability platform centered on a small orders API. The user workflow is to submit or retrieve orders through the service; the platform also exposes health, metrics, logs, and runtime fault injection. Those signals feed monitoring and alerting, while Terraform, Helm, and Argo CD support deployment to AWS EKS. The graph preserves the README’s documented SLO, dashboard, chaos, and incident-response capabilities. Several platform links are documented in the README rather than sampled implementation, so their edges cite it; unsampled internals are represented only at supported directory paths.
Main entry points: main.py FastAPI service · prometheus Prometheus SLOs · promtail Promtail · local Loki
Components 21
Orders service
- FastAPI service
app/src/main.py - Order endpoints
app/src/main.py - In-memory orders
app/src/main.py - Health probes
app/src/main.py - Chaos controls
app/src/main.py - RED metrics
app/src/main.py - JSON logging
app/src/main.py
Observability
- Prometheus SLOs
local/prometheus - Alertmanager
local/alertmanager - Grafana dashboards
local/grafana - Promtail
local/promtail - Loki
local
Platform delivery
- AWS infrastructure
terraform - AWS EKS
- Kubernetes chart
helm/shop-api - Argo CD app
argocd/shop-api-application.yaml
Reliability practice
- Chaos experiments
chaos/run_experiments.sh - Incident runbooks
runbooks - Postmortem template
postmortems/TEMPLATE.md
Other components
- API client
- Platform operator
Connections 20
- API client → FastAPI service: sends requests
README.md - FastAPI service → Order endpoints: routes orders
app/src/main.py - FastAPI service → Health probes: serves probes
app/src/main.py - FastAPI service → Chaos controls: serves controls
app/src/main.py - Order endpoints → In-memory orders: reads/writes
app/src/main.py - FastAPI service → RED metrics: records requests
app/src/main.py - FastAPI service → JSON logging: writes logs
app/src/main.py - FastAPI service → Prometheus SLOs: scrapes metrics
README.md - FastAPI service → Promtail: emits JSON logs
README.md - Promtail → Loki: ships logs
README.md - Prometheus SLOs → Alertmanager: sends alerts
README.md - Prometheus SLOs → Grafana dashboards: provides metrics
README.md - Loki → Grafana dashboards: provides logs
README.md - Platform operator → AWS infrastructure: provisions
README.md - AWS infrastructure → AWS EKS: creates cluster
README.md - Argo CD app → Kubernetes chart: syncs chart
README.md - Kubernetes chart → AWS EKS: deploys service
README.md - Chaos experiments → Chaos controls: injects faults
README.md - Incident runbooks → Platform operator: guides response
README.md - Platform operator → Postmortem template: documents incidents
README.md