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