docs(agent): 统一中文注释并补充部署文档
将代码与测试注释改为中文以符合仓库规范;新增中文部署指南、 示例配置,并完善构建脚本对 VERSION 注入的说明。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
21
configs/example.json
Normal file
21
configs/example.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"host_id": "host-example",
|
||||
"http": {
|
||||
"listen_address": "127.0.0.1:8080"
|
||||
},
|
||||
"collect": {
|
||||
"interval": "30s",
|
||||
"timeout": "10s"
|
||||
},
|
||||
"report": {
|
||||
"enabled": false,
|
||||
"endpoint": "http://center.example.internal/agent/status",
|
||||
"interval": "60s",
|
||||
"timeout": "5s"
|
||||
},
|
||||
"service": {
|
||||
"name": "mfd-monitor-agent",
|
||||
"display_name": "MFD Monitor Agent",
|
||||
"description": "采集主机状态并通过 HTTP 提供查询"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user