mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-12-05 16:07:33 +00:00
Count provider-owned, non-business-limited rows in ops_error_logs per account (same definition as the ops dashboard) and expose them as `upstream_errors` on today stats and per-day account usage history. - Today stats column shows today's upstream errors (highlighted when > 0). - Usage statistics modal adds an upstream error trend line plus today and 30-day totals; days with only errors are merged into the history. - Counts are omitted when ops monitoring is disabled so the UI hides them instead of showing a misleading 0. Failover intermediate attempts are attributed only to the last failing account. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>