Add cost service for per-VIN cost estimation

- Estimates cloud vs on-prem costs per active vehicle
- Queries feature_table_last_shard from ClickHouse (lightweight)
- 85% savings estimate with on-prem (hardware only)
- Deployed to cec-prd-cluster-1 (internal only)
- Text report endpoint at /cost/report
This commit is contained in:
Chris Rai
2026-01-31 21:29:59 -05:00
parent 1a890d8940
commit 3dccf80a72
8 changed files with 289 additions and 47 deletions

View File

@@ -29,6 +29,7 @@ func main() {
mux.HandleFunc("/cost/fleet", handlers.GetFleetCost)
mux.HandleFunc("/cost/summary", handlers.GetCostSummary)
mux.HandleFunc("/cost/comparison", handlers.GetCostComparison)
mux.HandleFunc("/cost/report", handlers.GetReport)
// Start health check server
healthServer := &health.HealthCheckServer{}