Files
WeChatHookBot/plugins/PerformanceMonitor/config.toml

18 lines
391 B
TOML

# 性能监控插件配置
[plugin]
name = "PerformanceMonitor"
description = "系统性能监控和统计"
author = "System"
version = "1.0.0"
enabled = true
[settings]
# 统计报告间隔(分钟)
report_interval = 30
# 是否启用自动性能警告
enable_warnings = true
# 性能警告阈值
warning_thresholds = { cpu = 80.0, memory = 85.0, queue_ratio = 0.8 }