Dashboard 1
SaaS health overview
Put adoption, reliability, and commercial context on one review surface without pretending they share the same grain.
- Primary audience
- Founders, product leaders, and engineering leaders
- Freshness rule
- Daily, after the newest complete UTC day
Metrics on the dashboard
- Active accounts
- Successful milestones
- API error rate
- Monthly revenue represented
health index
synthetic previewWITH account_activity AS (
SELECT
account_id,
COUNT(*) AS successful_milestones
FROM product_events
WHERE status = 'success'
GROUP BY account_id
),
account_reliability AS (
SELECT
account_id,
COUNT(*) AS requests,
SUM(CASE WHEN status = 'error' THEN 1 ELSE 0 END) AS errors
FROM api_requests
GROUP BY account_id
)
SELECT
COUNT(*) AS active_accounts,
SUM(a.successful_milestones) AS successful_milestones,
ROUND(100.0 * SUM(r.errors) / NULLIF(SUM(r.requests), 0), 2)
AS api_error_rate_pct,
SUM(ac.monthly_revenue_usd) AS represented_mrr_usd
FROM account_activity a
JOIN account_reliability r USING (account_id)
JOIN accounts ac USING (account_id);