加载中...
-
-
- diff --git a/.gitignore b/.gitignore index 7125ccf..26603fe 100644 --- a/.gitignore +++ b/.gitignore @@ -48,4 +48,10 @@ bin/ # Temporary files tmp/ -temp/ \ No newline at end of file +temp/ + +# SQLite database files +*.db +*.db-journal +*.db-shm +*.db-wal diff --git a/dashboard.html b/dashboard.html deleted file mode 100644 index 791aa4d..0000000 --- a/dashboard.html +++ /dev/null @@ -1,420 +0,0 @@ - - -
- - -实时监控异步任务队列状态
-| Queue | + ${this.renderTh('State', 'run: 正常处理任务 | paused: 暂停处理新任务')} + ${this.renderTh('Active', '正在被 worker 处理的任务数')} + ${this.renderTh('Pending', '等待处理的任务数')} + ${this.renderTh('Scheduled', '定时/延迟任务,到达指定时间后进入 Pending')} + ${this.renderTh('Retry', '处理失败后等待重试的任务数')} + ${this.renderTh('Archived', '超过最大重试次数的失败任务')} + ${this.renderTh('Memory', '队列在 Redis 中占用的内存')} + ${this.renderTh('Latency', '最老 Pending 任务的等待时间,反映处理及时性')} +Actions | +||||||||
|---|---|---|---|---|---|---|---|---|---|
| + this.handleQueueClick(queue)}> + ${queue.name} + + | ++ + ${queue.paused ? 'paused' : 'run'} + + | +${queue.active || 0} | +${queue.pending || 0} | +${queue.scheduled || 0} | +${queue.retry || 0} | +${queue.archived || 0} | +${this.formatMemory(queue.memory_usage)} | +${queue.latency || 0}ms | ++ + + | +
TaskQ Monitor requires a modern browser with ES Module support.
+Please upgrade to one of the following browsers:
++ Chrome 61+ | + Firefox 60+ | + Safari 11+ | + Edge 79+ +
+