增加日志进程等信息采集

This commit is contained in:
Alex Yang
2025-12-04 16:29:05 +08:00
parent 1a80c5acb8
commit 057a2ea9ee
15 changed files with 2090 additions and 379 deletions

23
agent/config.json Normal file
View File

@@ -0,0 +1,23 @@
{
"server": {
"port": 8080
},
"influxdb": {
"url": "http://localhost:8086",
"token": "",
"org": "monitor",
"bucket": "monitor",
"username": "",
"password": ""
},
"db": {
"type": "mysql",
"host": "localhost",
"port": 3306,
"username": "root",
"password": "",
"database": "monitor",
"ssl_mode": "disable",
"charset": "utf8mb4"
}
}