Files
managed-portal/deploy/managed-portal.10.8.0.11.env
skye.yue ea618fd674 Refactor store dwell alert management API and dwell engine
- Updated argument parsing in manage_api.py to include new threshold parameters.
- Enhanced _config_payload to include thresholds and webhook configurations.
- Modified _build_summary to track queue metrics and adjust alert reporting.
- Refactored DwellEngine to utilize queue thresholds for alerting and reporting.
- Added queue metrics calculations and status change tracking in dwell_engine.py.
- Updated notifier.py to support posting JSON events to webhooks.
- Adjusted example configuration to reflect new threshold parameters.
- Enhanced Docker entrypoint script for better process management.
- Updated tests to cover new queue metrics and thresholds.
- Improved ManagedServiceDetail and ManagedServices Vue components to display queue metrics.
2026-05-09 11:35:55 +08:00

13 lines
617 B
Bash

IMAGE_VERSION=dev
TZ=Asia/Shanghai
MANAGED_PORTAL_WEB_PORT=13000
MANAGED_STORE_DWELL_CAMERA_ID=cam_192_168_3_3
MANAGED_STORE_DWELL_RTSP_URL=rtsp://admin:Zxjp2026@192.168.3.3:554/h264/ch1/main/av_stream
MANAGED_STORE_DWELL_EVENT_SINK_PATH=logs/events.jsonl
MANAGED_STORE_DWELL_CONFIG_DIR=../managed/store_dwell_alert/config
MANAGED_STORE_DWELL_DATA_DIR=../managed/store_dwell_alert/data
MANAGED_PEOPLE_FLOW_RTSP_URL=rtsp://admin:Zxjp2026@192.168.3.3:554/h264/ch1/main/av_stream
MANAGED_PEOPLE_FLOW_CONFIG_DIR=../managed/people_flow_project/config
MANAGED_PEOPLE_FLOW_OUTPUT_DIR=../managed/people_flow_project/outputs