Skip to content

[OBSERVABILITY]: Define SLOs and end-to-end tracing for payout operations #92

Description

@grantfox-oss

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.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions