monitor-services
GitHub监控Pollinations GPU后端服务健康状态,执行定期巡检与故障恢复。通过比对库存、路由及健康端点识别异常,并在授权下重启现有Worker或验证数据路径,确保服务可用性。
Trigger Scenarios
Install
npx skills add pollinations/pollinations --skill monitor-services -g -y
SKILL.md
Frontmatter
{
"name": "monitor-services",
"description": "Check the active Pollinations GPU backends and recover a confirmed failure of an existing worker when the task authorizes repair. Use for recurring health checks and GPU incidents; use manage-vast-gpu-fleet for replacements."
}
Monitor GPU services
Read the repository AGENTS.md, the current GPU inventory, and the affected model's code before acting. Discover live instances and routes from the provider and Gen; documented instance IDs, addresses, prices, and retired services are historical until verified. Keep scheduling and alert thresholds in the task that invokes this skill.
Check the current fleet
- Reconcile the inventory with current Gen routes, live provider instances, and
GET https://gen.pollinations.ai/register(listing needs no token). Check every active GPU route; flag a routed service missing from the inventory, and skip historical services without an active route. - Check the model health endpoint for final failures, primary failures, fallback rescues, and latency. Use recent server errors and Worker logs for a specific failure. A successful fallback can hide an unhealthy GPU.
- For a suspected worker, compare its direct health and authenticated generation with a real request through
gen.pollinations.ai. Check the GPU process, queue, tunnel, and logs on the verified host. A registry heartbeat does not prove the data path works; a failed probe credential does not prove the backend is down. Some tunnel hostnames return a bot-protection 403 toPython-urllib/*; retry health probes with curl or another user agent before declaring failure. - Check how the workload is routed before interpreting a missing registry entry. Production Klein uses the
KLEIN_VPCbinding to a private Vast tunnel, so it does not appear in the heartbeat registry.KLEIN_URLis for environments without that binding.
Use an existing authorized test credential without printing it. Keep probes bounded, and compare failures with recent demand and provider fallback before declaring an outage.
Recover and verify
- If the monitoring task authorizes repair of an existing worker, identify the exact live instance and use its checked-in setup or restart procedure. Recheck the process, direct endpoint, public Gen request, and final error rate after the restart.
- For new capacity, a replacement instance, routing or tunnel changes, use the Vast fleet skill. Its prepare and promote steps have separate scope and approval requirements.
- For any credential deployment or secret change, follow the separate approval gate in
AGENTS.md. Production Cloudflare Worker deployments and secret synchronization run throughDeploy / Cloudflare productionfrom theproductionbranch; never push production Worker secrets from a local session. - If the current host or approved recovery path cannot be verified, stop before changing production and report the impact and required next action.
Report each active workload's route, public and backend health, fallback use, action taken, and post-action verification. Mark retired or unverified services explicitly rather than running historical restart commands.
Version History
-
5cb4f4b
Current 2026-10-19 13:08
更新文档以澄清GPU监控探针细节,优化健康检查流程描述。
-
55af554
2026-09-22 18:00
修复 monitor-services 中引用的新闻工作流名称,将过时的 NEWS_summary/NEWS_publish 更新为当前的 news-*.yml 命名规范。
-
8303332
2026-08-20 04:57
移除旧版图像后端根目录文档,重构GPU集群库存及FLUX、Z-Image、Klein等后端文档结构至operations目录下
- 99bce92 2026-07-25 10:39


