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

回到目录