自动补测、推送审计/退避重试、监控指标与监控页面

This commit is contained in:
DeepFal committed 2026-10-19 13:29:30 +08:00
1 parent 7445dcc51a
commit 24afb9e1dc
9 files changed
+831 -23

No files matched your search

+6
View File
@@ -148,6 +148,12 @@ def build_parser():
watch.add_argument("--host", default="127.0.0.1", help="面板监听地址")
watch.add_argument("--port", type=int, default=8088, help="面板端口,默认 8088")
watch.add_argument("--db", default="data/ips.db", help="SQLite 路径")
watch.add_argument("--backfill-threshold", type=int, default=1800,
help="启动时检测缺口超过多少秒自动补测(默认 1800)")
watch.add_argument("--backfill-max-gap", type=int, default=7 * 86400,
help="自动补测允许的最大缺口秒数(默认 7 天)")
watch.add_argument("--no-auto-backfill", action="store_true",
help="启动时不自动补测历史缺口")
watch.add_argument("--behavior-interval", type=int, default=900,
help="行为检测刷新间隔(秒,默认 900)")
watch.add_argument("--no-behavior", action="store_true",