配置

配置文件:/opt/channel-balance-monitor/local/channels.json

返回看板

渠道配置预览

[ { "name": "京东云资金账户", "provider": "jdcloud", "category": "cloud", "currency": "CNY", "unit": "元", "source_type": "jdcloud_account", "enabled": true, "warning_threshold": 1000.0, "critical_threshold": 300.0, "manual_balance": null, "manual_available": null, "manual_frozen": null, "manual_coupon": null, "endpoint": "", "method": "GET", "region_id": "cn-north-1", "auth_env": "", "access_key_env": "JDCLOUD_ACCESS_KEY_ID", "secret_key_env": "JDCLOUD_ACCESS_KEY_SECRET", "auth_header": "Authorization", "auth_prefix": "Bearer ", "headers": {}, "balance_path": "balance", "available_path": "available", "frozen_path": "frozen", "coupon_path": "coupon", "timeout": 20, "note": "京东云资产服务 describeAccountAmount,AK/SK 从环境变量读取。" }, { "name": "火山引擎资金账户 - 盼趣", "provider": "volcengine", "category": "cloud", "currency": "CNY", "unit": "元", "source_type": "volcengine_balance", "enabled": true, "warning_threshold": 10000.0, "critical_threshold": 3000.0, "manual_balance": null, "manual_available": null, "manual_frozen": null, "manual_coupon": null, "endpoint": "https://billing.volcengineapi.com/", "method": "GET", "region_id": "cn-north-1", "auth_env": "", "access_key_env": "VOLCENGINE_ACCESS_KEY_ID", "secret_key_env": "VOLCENGINE_SECRET_ACCESS_KEY", "auth_header": "Authorization", "auth_prefix": "Bearer ", "headers": {}, "balance_path": "balance", "available_path": "available", "frozen_path": "frozen", "coupon_path": "coupon", "timeout": 20, "note": "火山引擎费用中心 QueryBalanceAcct,可用余额从 AK/SK 环境变量读取。" } ]