ClueStack

Technology Stack

ClueStack combines a web app, API, CLI, local runtime, and observability stack.

Implementation roles

React and ViteFrontend application and build tooling for the dashboard.
FastAPIBackend API, service layer, deployment orchestration, and observability endpoints.
Python CLIInstallable developer-facing diagnostics and lifecycle commands.
PostgreSQLDurable project, deployment, report, and audit persistence when DATABASE_URL is configured.
JSON repositoriesLocal file-backed persistence fallback for project/report/deployment/audit state where configured.
RedisShort-TTL cache for repeated Prometheus dashboard queries. It does not replace Prometheus.
PrometheusMetrics source for dashboard service metrics.
LokiLog storage queried by the backend logs endpoint.
Grafana AlloyTelemetry/log collection and forwarding with Kubernetes labels.
AlertmanagerAlert source for the backend alerts endpoint.
GrafanaNative observability dashboard available in the local stack.
Docker ComposeLocal multi-service development runtime.
Kubernetes and KustomizeRuntime manifests for backend, frontend, PostgreSQL, Redis, HPA, Services, and app ConfigMaps.
TerraformFoundation resources such as namespace, RBAC, ServiceAccount, ResourceQuota, and backend runtime ConfigMap.
HelmUsed for applicable observability components such as Loki and Grafana Alloy.

Architecture map

User -> Web dashboard / CLI
Web dashboard -> Nginx /api proxy -> FastAPI
CLI -> local Docker, Minikube, Terraform, Kustomize, kubectl
FastAPI -> PostgreSQL or JSON repositories
FastAPI -> Redis cache -> Prometheus queries
FastAPI -> Kubernetes API for workloads
FastAPI -> Loki for logs
FastAPI -> Alertmanager for alerts
Grafana remains available as a native observability UI

Related pages