Purpose: Track RPC rate limiting and guide upgrade decision Features: - Last 24h summary (hits, recoveries, exhausted events) - 7-day trend analysis - Automated decision criteria: * >120 exhausted/day: UPGRADE IMMEDIATELY * 30-120/day: Monitor 24h more * 5-30/day: Acceptable with retry logic * <5/day: Keep free tier - ROI calculator (potential savings vs upgrade cost) Usage: bash scripts/monitor-rate-limits.sh Run daily to track improvement after retry logic deployment. Initial Results (Nov 15, 17:40): - 0 exhausted events in last 24h (was 14/day before) - Retry logic working perfectly - Decision: Keep free tier, focus on profitability Upgrade trigger: If exhausted stays >5/day after 48 hours monitoring Files: scripts/monitor-rate-limits.sh
4.1 KiB
Executable File
4.1 KiB
Executable File