diff --git a/tests/script/telemetry/crash-report/README-CN.md b/tests/script/telemetry/crash-report/README-CN.md index 6570ad913d..e0deab9f5b 100644 --- a/tests/script/telemetry/crash-report/README-CN.md +++ b/tests/script/telemetry/crash-report/README-CN.md @@ -35,6 +35,22 @@ vim .env ... ``` +- .env 样例 + +```bash +# 过滤器排除 IP(公司网络出口 IP) +EXCLUDE_IP="192.168.1.10" +# 英文官网服务器 IP +SERVER_IP="192.168.1.11" +# 内网提供 HTTP 服务的 IP 及端口,用于提供 HTML 报告浏览 +HTTP_SERV_IP="192.168.1.12" +HTTP_SERV_PORT=8080 +# 飞书群机器人 webhook 地址 +FEISHU_MSG_URL="https://open.feishu.cn/open-apis/bot/v2/hook/*******" +# 负责人 +OWNER="Jayden Jia" +``` + # 3. 运行 在 $DIR/telemetry/crash-report 目录中,有类似文件名为 202501**.txt 的一些文件。Python 脚本会将从这些文本文件中收集崩溃信息,并将报告发送到您的飞书机器人群组中。 diff --git a/tests/script/telemetry/crash-report/README.md b/tests/script/telemetry/crash-report/README.md index cbe70dcda4..a47c9bc8bb 100644 --- a/tests/script/telemetry/crash-report/README.md +++ b/tests/script/telemetry/crash-report/README.md @@ -35,6 +35,22 @@ vim .env ... ``` +- Example for .env + +```bash +# Filter to exclude IP (Company network export IP) +EXCLUDE_IP="192.168.1.10" +# Official website server IP +SERVER_IP="192.168.1.11" +# Internal network providing HTTP service IP and port, used for HTML report browsing +HTTP_SERV_IP="192.168.1.12" +HTTP_SERV_PORT=8080 +# Webhook address for feiShu group bot +FEISHU_MSG_URL="https://open.feishu.cn/open-apis/bot/v2/hook/*******" +# Owner +OWNER="Jayden Jia" +``` + # 3. Running In `$DIR/telemetry/crash-report` directory, there are several files with names like 202501**.txt. The python script will collect crash information from these text files and send report to your Feishu bot group.