🚀 Infrastructure Report Worker
Multi-platform monitoring and reporting service that aggregates data from Plausible Analytics, Vercel, and Cloudflare.
Available Endpoints
GET /health
Check service health and configuration status
POST /api/generate-report
Generate a report manually. Body parameters:
reportType: "daily" or "weekly" (default: "daily")
services: Array of service names to include (default: all)
sendToFeishu: Boolean to send report to Feishu (default: false)
POST /api/daily-report
Generate and send daily report to Feishu
POST /api/weekly-report
Generate and send weekly report to Feishu
Supported Services
- Plausible Analytics - Website traffic and user behavior metrics
- Vercel - Deployment statistics and resource usage
- Cloudflare - CDN performance and Worker analytics
- Home Assistant - Smart home device status and energy consumption
Report Delivery
Reports are delivered via Feishu (飞书) webhook with rich formatting and trend analysis.
Scheduled reports run daily at 9:00 AM via Cloudflare Cron Triggers.