| cmd/billing-service | ||
| internal | ||
| testdata/postgres | ||
| docker-compose.postgres.yml | ||
| go.mod | ||
| go.sum | ||
| README.md | ||
billing-service
billing-service is the v1 minute-delta and replay-safe writer for the Cloud
Network Billing & Control Plane.
It pulls the latest normalized snapshot from xray-exporter, computes deltas
from cumulative counters, and writes idempotent usage and billing facts into the
existing accounts.svc.plus PostgreSQL schema.
Endpoints
POST /v1/jobs/collect-and-ratePOST /v1/jobs/reconcileGET /healthzGET /v1/status