nomadro/apps/admin/deploy/_vip_track_assets
Eric 4ad87fd4ab Ship pending portal, admin, miniprogram, and ebook business updates.
Refresh audience/admin UX, ntfy/track, social paths, and replace ebook chapters with the expanded catalog; keep local SQLite and one-off probe scripts out of tree.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-26 13:40:46 +08:00
..
healthcheck.sh Ship VIP wechat user CRUD and in-shell user-list nav. 2026-11-20 09:29:32 +08:00
patch_proxy.py Ship VIP wechat user CRUD and in-shell user-list nav. 2026-11-20 09:29:32 +08:00
README.md Ship VIP wechat user CRUD and in-shell user-list nav. 2026-11-20 09:29:32 +08:00
server.py Ship pending portal, admin, miniprogram, and ebook business updates. 2026-11-26 13:40:46 +08:00
setup_ntfy_on82.sh Ship VIP wechat user CRUD and in-shell user-list nav. 2026-11-20 09:29:32 +08:00
track-api.conf Ship VIP wechat user CRUD and in-shell user-list nav. 2026-11-20 09:29:32 +08:00
vip-track.js Ship VIP wechat user CRUD and in-shell user-list nav. 2026-11-20 09:29:32 +08:00

vip.hackrobot.cn 旁路埋点 / 监控 / ntfy

部署机:129.204.21.129 · 目录 /opt/vip-track · 进程 pm2 vip-track(不重启业务 vip)。

能力

层 说明
前端 /vip-track.js nginx 注入;page_view / CTA / 登录 / 支付回跳 / SPA / 错误 / web vital / heartbeat
API POST /api/track → sidecar :4011;事件写入 /opt/vip-track/events.db(独立 SQLite,不碰 VIP/PB)
ntfy 高价值事件推 https://ntfy.nomadro.cn/vip-hackrobot(匿名可写;hackrobot 管理员可读)
健康 cron /etc/cron.d/vip-track-health 每 3 分钟;down/up 边沿推 ntfy

订阅

ntfy App 登录 hackrobot,订阅 topic:vip-hackrobot。

安全部署

python apps/admin/deploy/_push_vip_track_v2.py

仅更新 track 文件 + pm2 restart vip-track + nginx reload;冒烟要求 vip restart 计数不变。

本机统计

curl -s http://127.0.0.1:4011/stats
curl -s http://127.0.0.1:4011/health