Context
Console logs and product analytics do not answer whether payout creation, application approval, escrow funding, or milestone release is healthy. Operators need correlated telemetry across browser, API, database, jobs, and blockchain dependencies.
Scope
- Define SLIs/SLOs for availability, latency, and successful completion of critical workflows.
- Add structured logs, metrics, and distributed traces with shared correlation/operation IDs.
- Instrument API latency/status, database timing, job queues, escrow confirmation latency, and dependency failures.
- Redact tokens, emails, wallet-sensitive metadata, request bodies, and file URLs by default.
- Build dashboards and burn-rate alerts tied to actionable runbooks.
- Add synthetic probes for public availability and authenticated test-environment journeys.
Acceptance criteria
Relevant areas
API routes, Prisma client, external adapters, escrow hooks/workers, PostHog provider, deployment platform.
Context
Console logs and product analytics do not answer whether payout creation, application approval, escrow funding, or milestone release is healthy. Operators need correlated telemetry across browser, API, database, jobs, and blockchain dependencies.
Scope
Acceptance criteria
Relevant areas
API routes, Prisma client, external adapters, escrow hooks/workers, PostHog provider, deployment platform.