Report
目錄
介紹
透過 orxray report
子命令可以生成彙總報告和獲取彙總報告列表。
用法
Usage: orxray report [COMMAND]
COMMAND:
gen Generate a summary report.
list List summary reports.
GLOBAL OPTIONS:
--help
--config Specify the config file, default is ~/.orxray/config.
Gen
這個子命令可以生成彙總報告。
用法
Usage: orxray report gen [OPTIONS]
OPTIONS:
-b, --batch batch id list, such as "1,2".
-t, --time time, such as "2022-10-01~2022-10-02".
-T, --type type, error_summary or main_summary(default).
GLOBAL OPTIONS:
--help
--config Specify the config file, default is ~/.orxray/config.
示例
為 batch_id 為 10 和 11 的任務生成彙總報告。
orxray report gen -b 10,11
為 2022-10-01~2022-10-02 之間的的任務生成彙總報告。
orxray report gen -t 2022-10-01~2022-10-02
List
獲取彙總報告列表。
用法
Usage: orxray report list [OPTIONS]
OPTIONS:
-s, --page-size page size, 20(default).
-p, --page page, 1(default).
GLOBAL OPTIONS:
--help
--config Specify the config file, default is ~/.orxray/config.
示例
$ orxray report list
ID TYPE TIME BATCH STATUS
224 main_summary 10,11 finished
223 main_summary 2022-10-01 ~ 2022-10-02 finished
222 error_summary 2022-10-25 ~ 2022-11-01 finished
221 main_summary errored
220 main_summary 10 finished
219 main_summary 10 finished
218 main_summary 10 finished
217 main_summary 10 finished
216 main_summary 10,11 finished
215 main_summary 2022-10-18 ~ 2022-10-19 finished