From ab98436963235e02e5311eeb3d20ff6cc38a1097 Mon Sep 17 00:00:00 2001 From: leiyun Date: Thu, 18 Jun 2026 21:59:26 +0800 Subject: [PATCH] =?UTF-8?q?=E9=92=89=E9=92=89=E5=91=8A=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- isolated/profiles/emp-test/.env.example | 16 ++++++++++++++++ isolated/profiles/emp-uat/.env.example | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/isolated/profiles/emp-test/.env.example b/isolated/profiles/emp-test/.env.example index aadcaa1..3466bc2 100644 --- a/isolated/profiles/emp-test/.env.example +++ b/isolated/profiles/emp-test/.env.example @@ -97,6 +97,22 @@ COS_REGION=ap-chengdu COS_BUCKET=emp-example-bucket COS_PUBLIC_BASE_URL= +# WeCom alert settings for emp-auth / emp-monitor / emp-data. +# Alert sending is disabled by default. Set ALERT_ENABLED=true and webhook URLs on the server to enable it. +ALERT_ENABLED=false +ALERT_ENV_NAME=emp-test +# Do not set ALERT_SERVICE_NAME globally unless all services should report the same name. +# ALERT_SERVICE_NAME= +WECOM_P2_WEBHOOK_URL= +WECOM_P3_WEBHOOK_URL= +ALERT_WECOM_CONNECT_TIMEOUT_MS=2000 +ALERT_WECOM_READ_TIMEOUT_MS=3000 +ALERT_P2_DEDUP_WINDOW_SECONDS=300 +ALERT_P3_SUMMARY_ENABLED=true +ALERT_P3_SUMMARY_CRON=0 0 * * * ? +ALERT_SLOW_CORE_MS=2000 +ALERT_SLOW_NORMAL_MS=3000 + # 车辆/设备同步的中控地址,隔离环境无真实中控时保留占位即可。 SYNC_BASE_URL=https://example.com SYNC_TK=change-me diff --git a/isolated/profiles/emp-uat/.env.example b/isolated/profiles/emp-uat/.env.example index ffe0d32..df83edc 100644 --- a/isolated/profiles/emp-uat/.env.example +++ b/isolated/profiles/emp-uat/.env.example @@ -97,6 +97,22 @@ COS_REGION=ap-chengdu COS_BUCKET=emp-example-bucket COS_PUBLIC_BASE_URL= +# WeCom alert settings for emp-auth / emp-monitor / emp-data. +# Alert sending is disabled by default. Set ALERT_ENABLED=true and webhook URLs on the server to enable it. +ALERT_ENABLED=false +ALERT_ENV_NAME=emp-uat +# Do not set ALERT_SERVICE_NAME globally unless all services should report the same name. +# ALERT_SERVICE_NAME= +WECOM_P2_WEBHOOK_URL= +WECOM_P3_WEBHOOK_URL= +ALERT_WECOM_CONNECT_TIMEOUT_MS=2000 +ALERT_WECOM_READ_TIMEOUT_MS=3000 +ALERT_P2_DEDUP_WINDOW_SECONDS=300 +ALERT_P3_SUMMARY_ENABLED=true +ALERT_P3_SUMMARY_CRON=0 0 * * * ? +ALERT_SLOW_CORE_MS=2000 +ALERT_SLOW_NORMAL_MS=3000 + # 车辆/设备同步的中控地址,隔离环境无真实中控时保留占位即可。 SYNC_BASE_URL=https://example.com SYNC_TK=change-me