For productizing MetaShift, these metrics can support packaging and pricing without overbuilding.
- Per environment / tenant: one deployment or
X-Tenant-IDscope. - Per conflict resolved: count of conflicts that reached
resolvedin a period. - Per events/month: count of telemetry events (e.g.
system_eventsrows or ingest calls) in a period.
- Environments/tenants: distinct
tenant_idin use (from API usage or DB). - Conflicts resolved: count rows in
conflictswherestatus = 'resolved'andresolved_atin the period; or use pipeline status / resolution log. - Events: count of
system_eventsrows per tenant (or sum of ingest requests) in the period.
- No code changes are required to start; you can derive these from existing Supabase tables and API logs.
- Optional: add a lightweight
usageormetricstable (tenant_id, period, event_count, resolution_count) and a job or trigger to aggregate for billing.