categraf 监控多mysql

Viewed 83

发现一个问题,在通过categraf监控多个mysql时其中一个mysql的磁盘io跑满导致采集数据异常时,会导致其他的mysql采集不到信息,去除异常的mysql后采集就会正常,不知道算不算bug

3 Answers

大佬贴下配置和日志呢,代码没看出来哪里问题

image.png
image.png

[[instances]]
address = "xx.xx.xx.xx:3306"
username = "xxxxxx"
password = "xxxxxxx"
extra_status_metrics = true
extra_innodb_metrics = true
gather_schema_size = true
gather_table_size = true
gather_slave_status = false
labels = { instance="xx.xx.xx.xx:3306" }

[[instances]]
address = "xx.xx.xx.xx:3306"
username = "xxxxxxxx"
password = "xxxxxxx"
extra_status_metrics = true
extra_innodb_metrics = true
gather_schema_size = true
gather_table_size = true
gather_slave_status = false
labels = { instance="xx.xx.xx.xx:3306" }

[[instances]]
address = "xx.xx.xx.xx:3306"
username = "xxxxxx"
password = "xxxxxxxxxx"
extra_status_metrics = true
extra_innodb_metrics = true
gather_schema_size = true
gather_table_size = true
gather_slave_status = true
labels = { instance="xx.xx.xx.xx:3306" }

日志

		2023-08-18 23:00:35	
2023/08/18 23:00:35 docker.go:247: E! failed to get container stats: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/ad4f820aeefc727d598ac215674b36840a715363b5cdaf7f10eacee3ed7eaa33/stats?stream=0": context deadline exceeded
2023-08-18 23:00:20	
2023/08/18 23:00:20 docker.go:247: E! failed to get container stats: Get "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/containers/ad4f820aeefc727d598ac215674b36840a715363b5cdaf7f10eacee3ed7eaa33/stats?stream=0": context deadline exceeded
2023-08-18 17:45:30	
2023/08/18 17:45:30 cli.go:84: I! choose server: 172.16.8.176:20090, duration: 0ms
2023-08-18 17:45:29	
2023/08/18 17:45:29 heartbeat.go:19: I! ibex agent start rolling request Server.Report.
2023-08-18 17:45:29	
2023/08/18 17:45:29 agent.go:50: I! agent started
2023-08-18 17:45:29	
2023/08/18 17:45:29 agent.go:47: I! [*agent.IbexAgent] started
2023-08-18 17:45:29	
2023/08/18 17:45:29 agent.go:47: I! [*agent.MetricsAgent] started
2023-08-18 17:45:29	
2023/08/18 17:45:29 metrics_agent.go:298: I! input: local.system started
2023-08-18 17:45:29	
2023/08/18 17:45:29 metrics_agent.go:298: I! input: local.processes started
2023-08-18 17:45:29	
2023/08/18 17:45:29 metrics_agent.go:298: I! input: local.netstat started
2023-08-18 17:45:29	
2023/08/18 17:45:29 metrics_agent.go:298: I! input: local.net started
2023-08-18 17:45:29	
2023/08/18 17:45:29 metrics_agent.go:298: I! input: local.mysql started
2023-08-18 17:45:29	
2023/08/18 17:45:29 metrics_agent.go:298: I! input: local.mem started
2023-08-18 17:45:29	
2023/08/18 17:45:29 metrics_agent.go:298: I! input: local.linux_sysctl_fs started
2023-08-18 17:45:29	
2023/08/18 17:45:29 metrics_agent.go:298: I! input: local.kernel_vmstat started
2023-08-18 17:45:29	
2023/08/18 17:45:29 metrics_agent.go:298: I! input: local.kernel started
2023-08-18 17:45:29	
2023/08/18 17:45:29 metrics_agent.go:298: I! input: local.http_response started
2023-08-18 17:45:29	
2023/08/18 17:45:29 metrics_agent.go:298: I! input: local.docker started
2023-08-18 17:45:29	
2023/08/18 17:45:29 metrics_agent.go:298: I! input: local.diskio started
2023-08-18 17:45:29	
2023/08/18 17:45:29 metrics_agent.go:298: I! input: local.disk started
2023-08-18 17:45:29	
2023/08/18 17:45:29 metrics_agent.go:298: I! input: local.cpu started
2023-08-18 17:45:29	
2023/08/18 17:45:29 agent.go:39: I! agent starting
2023-08-18 17:45:29	
2023/08/18 17:45:29 prometheus_agent.go:19: I! prometheus scraping disabled!
2023-08-18 17:45:29	
2023/08/18 17:45:29 traces_agent.go:19: I! traces agent disabled!
2023-08-18 17:45:29	
2023/08/18 17:45:29 provider_manager.go:60: I! use input provider: []
2023-08-18 17:45:29	
2023/08/18 17:45:29 main.go:131: I! runner.vm_limits: (soft=unlimited, hard=unlimited)
2023-08-18 17:45:29	
2023/08/18 17:45:29 main.go:130: I! runner.fd_limits: (soft=40000500, hard=40000500)
2023-08-18 17:45:29	
2023/08/18 17:45:29 main.go:129: I! runner.hostname: ecs-auto
2023-08-18 17:45:29	
2023/08/18 17:45:29 main.go:128: I! runner.binarydir: /usr/bin
2023-08-18 17:45:29	
2023/08/18 17:45:29 I! tracing disabled
2023-08-18 17:45:29	
/entrypoint.sh: 5: setcap: not found
2023-08-18 17:45:29	
Failed to set additional capabilities on /usr/bin/categraf
2023-08-18 17:45:29	
2023/08/18 17:45:29 main.go:123: I! exited
2023-08-18 17:45:29	
2023/08/18 17:45:29 agent.go:65: I! agent stopped
2023-08-18 17:45:29	
2023/08/18 17:45:29 agent.go:62: I! [*agent.IbexAgent] stopped
2023-08-18 17:45:29	
2023/08/18 17:45:29 agent.go:62: I! [*agent.MetricsAgent] stopped
2023-08-18 17:45:29	
2023/08/18 17:45:29 agent.go:54: I! agent stopping
2023-08-18 17:45:29	
2023/08/18 17:45:29 main.go:110: I! received signal: terminated
2023-08-18 17:45:29	
2023/08/18 17:45:29 heartbeat.go:87: I! ibex agent received signal: terminated
2023-08-18 17:38:05	
2023/08/18 17:38:05 cli.go:84: I! choose server: 172.16.8.176:20090, duration: 0ms
2023-08-18 17:38:04	
2023/08/18 17:38:04 heartbeat.go:19: I! ibex agent start rolling request Server.Report.
2023-08-18 17:38:04	
2023/08/18 17:38:04 agent.go:50: I! agent started
2023-08-18 17:38:04	
2023/08/18 17:38:04 agent.go:47: I! [*agent.IbexAgent] started
2023-08-18 17:38:04	
2023/08/18 17:38:04 agent.go:47: I! [*agent.MetricsAgent] started
2023-08-18 17:38:04	
2023/08/18 17:38:04 metrics_agent.go:298: I! input: local.system started
2023-08-18 17:38:04	
2023/08/18 17:38:04 metrics_agent.go:298: I! input: local.processes started
2023-08-18 17:38:04	
2023/08/18 17:38:04 metrics_agent.go:298: I! input: local.netstat started
2023-08-18 17:38:04	
2023/08/18 17:38:04 metrics_agent.go:298: I! input: local.net started
2023-08-18 17:38:04	
2023/08/18 17:38:04 metrics_agent.go:298: I! input: local.mysql started
2023-08-18 17:38:04	
2023/08/18 17:38:04 metrics_agent.go:298: I! input: local.mem started
2023-08-18 17:38:04	
2023/08/18 17:38:04 metrics_agent.go:298: I! input: local.linux_sysctl_fs started
2023-08-18 17:38:04	
2023/08/18 17:38:04 metrics_agent.go:298: I! input: local.kernel_vmstat started
2023-08-18 17:38:04	
2023/08/18 17:38:04 metrics_agent.go:298: I! input: local.kernel started
2023-08-18 17:38:04	
2023/08/18 17:38:04 metrics_agent.go:298: I! input: local.http_response started
2023-08-18 17:38:04	
2023/08/18 17:38:04 metrics_agent.go:298: I! input: local.docker started
2023-08-18 17:38:04	
2023/08/18 17:38:04 metrics_agent.go:298: I! input: local.diskio started
2023-08-18 17:38:04	
2023/08/18 17:38:04 metrics_agent.go:298: I! input: local.disk started
2023-08-18 17:38:04	
2023/08/18 17:38:04 metrics_agent.go:298: I! input: local.cpu started
2023-08-18 17:38:04	
2023/08/18 17:38:04 agent.go:39: I! agent starting
2023-08-18 17:38:04	
2023/08/18 17:38:04 prometheus_agent.go:19: I! prometheus scraping disabled!
2023-08-18 17:38:04	
2023/08/18 17:38:04 traces_agent.go:19: I! traces agent disabled!
2023-08-18 17:38:04	
2023/08/18 17:38:04 provider_manager.go:60: I! use input provider: []
2023-08-18 17:38:04	
2023/08/18 17:38:04 main.go:131: I! runner.vm_limits: (soft=unlimited, hard=unlimited)
2023-08-18 17:38:04	
2023/08/18 17:38:04 main.go:130: I! runner.fd_limits: (soft=40000500, hard=40000500)
2023-08-18 17:38:04	
2023/08/18 17:38:04 main.go:129: I! runner.hostname: ecs-auto
2023-08-18 17:38:04	
2023/08/18 17:38:04 main.go:128: I! runner.binarydir: /usr/bin
2023-08-18 17:38:04	
2023/08/18 17:38:04 I! tracing disabled
2023-08-18 17:38:04	
/entrypoint.sh: 5: setcap: not found
2023-08-18 17:38:04	
Failed to set additional capabilities on /usr/bin/categraf
2023-08-18 17:38:04	
2023/08/18 17:38:04 main.go:123: I! exited
2023-08-18 17:38:04	
2023/08/18 17:38:04 agent.go:65: I! agent stopped
2023-08-18 17:38:04	
2023/08/18 17:38:04 agent.go:62: I! [*agent.IbexAgent] stopped
2023-08-18 17:38:04	
2023/08/18 17:38:04 agent.go:62: I! [*agent.MetricsAgent] stopped
2023-08-18 17:38:04	
2023/08/18 17:38:04 agent.go:54: I! agent stopping
2023-08-18 17:38:04	
2023/08/18 17:38:04 main.go:110: I! received signal: terminated
2023-08-18 17:35:28	
2023/08/18 17:35:28 cli.go:84: I! choose server: 172.16.8.176:20090, duration: 2ms
2023-08-18 17:35:27	
2023/08/18 17:35:27 heartbeat.go:19: I! ibex agent start rolling request Server.Report.
2023-08-18 17:35:27	
2023/08/18 17:35:27 agent.go:50: I! agent started
2023-08-18 17:35:27	
2023/08/18 17:35:27 agent.go:47: I! [*agent.IbexAgent] started
2023-08-18 17:35:27	
2023/08/18 17:35:27 agent.go:47: I! [*agent.MetricsAgent] started
2023-08-18 17:35:27	
2023/08/18 17:35:27 metrics_agent.go:298: I! input: local.system started
2023-08-18 17:35:27	
2023/08/18 17:35:27 metrics_agent.go:298: I! input: local.processes started
2023-08-18 17:35:27	
2023/08/18 17:35:27 metrics_agent.go:298: I! input: local.netstat started
2023-08-18 17:35:27	
2023/08/18 17:35:27 metrics_agent.go:298: I! input: local.net started
2023-08-18 17:35:27	
2023/08/18 17:35:27 metrics_agent.go:298: I! input: local.mysql started
2023-08-18 17:35:27	
2023/08/18 17:35:27 metrics_agent.go:298: I! input: local.mem started
2023-08-18 17:35:27	
2023/08/18 17:35:27 metrics_agent.go:298: I! input: local.linux_sysctl_fs started
2023-08-18 17:35:27	
2023/08/18 17:35:27 metrics_agent.go:298: I! input: local.kernel_vmstat started
2023-08-18 17:35:27	
2023/08/18 17:35:27 metrics_agent.go:298: I! input: local.kernel started
2023-08-18 17:35:27	
2023/08/18 17:35:27 metrics_agent.go:298: I! input: local.http_response started
2023-08-18 17:35:27	
2023/08/18 17:35:27 metrics_agent.go:298: I! input: local.docker started
2023-08-18 17:35:27	
2023/08/18 17:35:27 metrics_agent.go:298: I! input: local.diskio started
2023-08-18 17:35:27	
2023/08/18 17:35:27 metrics_agent.go:298: I! input: local.disk started
2023-08-18 17:35:27	
2023/08/18 17:35:27 metrics_agent.go:298: I! input: local.cpu started
2023-08-18 17:35:27	
2023/08/18 17:35:27 prometheus_agent.go:19: I! prometheus scraping disabled!
2023-08-18 17:35:27	
2023/08/18 17:35:27 traces_agent.go:19: I! traces agent disabled!
2023-08-18 17:35:27	
2023/08/18 17:35:27 provider_manager.go:60: I! use input provider: []
2023-08-18 17:35:27	
2023/08/18 17:35:27 agent.go:39: I! agent starting
2023-08-18 17:35:27	
2023/08/18 17:35:27 main.go:131: I! runner.vm_limits: (soft=unlimited, hard=unlimited)
2023-08-18 17:35:27	
2023/08/18 17:35:27 main.go:130: I! runner.fd_limits: (soft=40000500, hard=40000500)
2023-08-18 17:35:27	
2023/08/18 17:35:27 main.go:129: I! runner.hostname: ecs-auto
2023-08-18 17:35:27	
2023/08/18 17:35:27 main.go:128: I! runner.binarydir: /usr/bin
2023-08-18 17:35:27	
2023/08/18 17:35:27 I! tracing disabled
2023-08-18 17:35:27	
Failed to set additional capabilities on /usr/bin/categraf
2023-08-18 17:35:27	
/entrypoint.sh: 5: setcap: not found
2023-08-18 17:35:27	
2023/08/18 17:35:27 main.go:123: I! exited
2023-08-18 17:35:27	
2023/08/18 17:35:27 agent.go:65: I! agent stopped
2023-08-18 17:35:27	
2023/08/18 17:35:27 agent.go:62: I! [*agent.IbexAgent] stopped
2023-08-18 17:35:27	
2023/08/18 17:35:27 agent.go:62: I! [*agent.MetricsAgent] stopped
2023-08-18 17:35:27	
2023/08/18 17:35:27 agent.go:54: I! agent stopping
2023-08-18 17:35:27	
2023/08/18 17:35:27 main.go:110: I! received signal: terminated
2023-08-18 17:35:27	
2023/08/18 17:35:27 heartbeat.go:87: I! ibex agent received signal: terminated
2023-08-18 17:29:23	
2023/08/18 17:29:23 cli.go:84: I! choose server: 172.16.8.176:20090, duration: 0ms
2023-08-18 17:29:22	
2023/08/18 17:29:22 heartbeat.go:19: I! ibex agent start rolling request Server.Report.
2023-08-18 17:29:22	
2023/08/18 17:29:22 agent.go:50: I! agent started
2023-08-18 17:29:22	
2023/08/18 17:29:22 agent.go:47: I! [*agent.IbexAgent] started
2023-08-18 17:29:22	
2023/08/18 17:29:22 agent.go:47: I! [*agent.MetricsAgent] started
2023-08-18 17:29:22	
2023/08/18 17:29:22 metrics_agent.go:298: I! input: local.system started
2023-08-18 17:29:22	
2023/08/18 17:29:22 metrics_agent.go:298: I! input: local.processes started
2023-08-18 17:29:22	
2023/08/18 17:29:22 metrics_agent.go:298: I! input: local.netstat started
2023-08-18 17:29:22	
2023/08/18 17:29:22 metrics_agent.go:298: I! input: local.net started
2023-08-18 17:29:22	
2023/08/18 17:29:22 metrics_agent.go:298: I! input: local.mysql started
2023-08-18 17:29:22	
2023/08/18 17:29:22 metrics_agent.go:298: I! input: local.mem started
2023-08-18 17:29:22	
2023/08/18 17:29:22 metrics_agent.go:298: I! input: local.linux_sysctl_fs started
2023-08-18 17:29:22	
2023/08/18 17:29:22 metrics_agent.go:298: I! input: local.kernel_vmstat started
2023-08-18 17:29:22	
2023/08/18 17:29:22 metrics_agent.go:298: I! input: local.kernel started
2023-08-18 17:29:22	
2023/08/18 17:29:22 metrics_agent.go:298: I! input: local.http_response started
2023-08-18 17:29:22	
2023/08/18 17:29:22 metrics_agent.go:298: I! input: local.docker started
2023-08-18 17:29:22	
2023/08/18 17:29:22 metrics_agent.go:298: I! input: local.diskio started
2023-08-18 17:29:22	
2023/08/18 17:29:22 metrics_agent.go:298: I! input: local.disk started
2023-08-18 17:29:22	
2023/08/18 17:29:22 metrics_agent.go:298: I! input: local.cpu started
2023-08-18 17:29:22	
2023/08/18 17:29:22 agent.go:39: I! agent starting
2023-08-18 17:29:22	
2023/08/18 17:29:22 prometheus_agent.go:19: I! prometheus scraping disabled!
2023-08-18 17:29:22	
2023/08/18 17:29:22 traces_agent.go:19: I! traces agent disabled!
2023-08-18 17:29:22	
2023/08/18 17:29:22 provider_manager.go:60: I! use input provider: []
2023-08-18 17:29:22	
2023/08/18 17:29:22 main.go:131: I! runner.vm_limits: (soft=unlimited, hard=unlimited)
2023-08-18 17:29:22	
2023/08/18 17:29:22 main.go:130: I! runner.fd_limits: (soft=40000500, hard=40000500)
2023-08-18 17:29:22	
2023/08/18 17:29:22 main.go:129: I! runner.hostname: ecs-auto
2023-08-18 17:29:22	
2023/08/18 17:29:22 main.go:128: I! runner.binarydir: /usr/bin
2023-08-18 17:29:22	
2023/08/18 17:29:22 I! tracing disabled
2023-08-18 17:29:22	
Failed to set additional capabilities on /usr/bin/categraf
2023-08-18 17:29:22	
/entrypoint.sh: 5: setcap: not found
2023-08-18 17:29:22	
2023/08/18 17:29:22 main.go:123: I! exited
2023-08-18 17:29:22	
2023/08/18 17:29:22 agent.go:65: I! agent stopped
2023-08-18 17:29:22	
2023/08/18 17:29:22 agent.go:62: I! [*agent.IbexAgent] stopped
2023-08-18 17:29:22	
2023/08/18 17:29:22 agent.go:62: I! [*agent.MetricsAgent] stopped
2023-08-18 17:29:22	
2023/08/18 17:29:22 agent.go:54: I! agent stopping
2023-08-18 17:29:22	
2023/08/18 17:29:22 main.go:110: I! received signal: terminated
2023-08-18 17:25:08	
2023/08/18 17:25:08 cli.go:84: I! choose server: 172.16.8.176:20090, duration: 0ms
2023-08-18 17:25:07	
2023/08/18 17:25:07 heartbeat.go:19: I! ibex agent start rolling request Server.Report.
2023-08-18 17:25:07	
2023/08/18 17:25:07 agent.go:50: I! agent started
2023-08-18 17:25:07	
2023/08/18 17:25:07 agent.go:47: I! [*agent.IbexAgent] started
2023-08-18 17:25:07	
2023/08/18 17:25:07 agent.go:47: I! [*agent.MetricsAgent] started
2023-08-18 17:25:07	
2023/08/18 17:25:07 metrics_agent.go:298: I! input: local.system started
2023-08-18 17:25:07	
2023/08/18 17:25:07 metrics_agent.go:298: I! input: local.processes started
2023-08-18 17:25:07	
2023/08/18 17:25:07 metrics_agent.go:298: I! input: local.netstat started
2023-08-18 17:25:07	
2023/08/18 17:25:07 metrics_agent.go:298: I! input: local.net started
2023-08-18 17:25:07	
2023/08/18 17:25:07 metrics_agent.go:298: I! input: local.mysql started
2023-08-18 17:25:07	
2023/08/18 17:25:07 metrics_agent.go:298: I! input: local.mem started
2023-08-18 17:25:07	
2023/08/18 17:25:07 metrics_agent.go:298: I! input: local.linux_sysctl_fs started
2023-08-18 17:25:07	
2023/08/18 17:25:07 metrics_agent.go:298: I! input: local.kernel_vmstat started
2023-08-18 17:25:07	
2023/08/18 17:25:07 metrics_agent.go:298: I! input: local.kernel started
2023-08-18 17:25:07	
2023/08/18 17:25:07 metrics_agent.go:298: I! input: local.http_response started
2023-08-18 17:25:07	
2023/08/18 17:25:07 metrics_agent.go:298: I! input: local.docker started
2023-08-18 17:25:07	
2023/08/18 17:25:07 metrics_agent.go:298: I! input: local.diskio started
2023-08-18 17:25:07	
2023/08/18 17:25:07 metrics_agent.go:298: I! input: local.disk started
2023-08-18 17:25:07	
2023/08/18 17:25:07 metrics_agent.go:298: I! input: local.cpu started
2023-08-18 17:25:07	
2023/08/18 17:25:07 prometheus_agent.go:19: I! prometheus scraping disabled!
2023-08-18 17:25:07	
2023/08/18 17:25:07 traces_agent.go:19: I! traces agent disabled!
2023-08-18 17:25:07	
2023/08/18 17:25:07 provider_manager.go:60: I! use input provider: []
2023-08-18 17:25:07	
2023/08/18 17:25:07 agent.go:39: I! agent starting
2023-08-18 17:25:07	
2023/08/18 17:25:07 main.go:131: I! runner.vm_limits: (soft=unlimited, hard=unlimited)
2023-08-18 17:25:07	
2023/08/18 17:25:07 main.go:130: I! runner.fd_limits: (soft=40000500, hard=40000500)
2023-08-18 17:25:07	
2023/08/18 17:25:07 main.go:129: I! runner.hostname: ecs-auto
2023-08-18 17:25:07	
2023/08/18 17:25:07 main.go:128: I! runner.binarydir: /usr/bin
2023-08-18 17:25:07	
2023/08/18 17:25:07 I! tracing disabled
2023-08-18 17:25:07	
Failed to set additional capabilities on /usr/bin/categraf
2023-08-18 17:25:07	
/entrypoint.sh: 5: setcap: not found
2023-08-18 17:25:07	
2023/08/18 17:25:07 main.go:123: I! exited
2023-08-18 17:25:07	
2023/08/18 17:25:07 agent.go:65: I! agent stopped
2023-08-18 17:25:07	
2023/08/18 17:25:07 agent.go:62: I! [*agent.IbexAgent] stopped
2023-08-18 17:25:07	
2023/08/18 17:25:07 agent.go:62: I! [*agent.MetricsAgent] stopped
2023-08-18 17:25:07	
2023/08/18 17:25:07 agent.go:54: I! agent stopping
2023-08-18 17:25:07	
2023/08/18 17:25:07 main.go:110: I! received signal: terminated
2023-08-18 17:25:07	
2023/08/18 17:25:07 heartbeat.go:87: I! ibex agent received signal: terminated
2023-08-18 16:56:40	
2023/08/18 16:56:40 cli.go:84: I! choose server: 172.16.8.176:20090, duration: 0ms
2023-08-18 16:56:39	
2023/08/18 16:56:39 heartbeat.go:19: I! ibex agent start rolling request Server.Report.
2023-08-18 16:56:39	
2023/08/18 16:56:39 agent.go:50: I! agent started
2023-08-18 16:56:39	
2023/08/18 16:56:39 agent.go:47: I! [*agent.IbexAgent] started
2023-08-18 16:56:39	
2023/08/18 16:56:39 agent.go:47: I! [*agent.MetricsAgent] started
2023-08-18 16:56:39	
2023/08/18 16:56:39 metrics_agent.go:298: I! input: local.system started
2023-08-18 16:56:39	
2023/08/18 16:56:39 metrics_agent.go:298: I! input: local.processes started
2023-08-18 16:56:39	
2023/08/18 16:56:39 metrics_agent.go:298: I! input: local.netstat started
2023-08-18 16:56:39	
2023/08/18 16:56:39 metrics_agent.go:298: I! input: local.net started
2023-08-18 16:56:39	
2023/08/18 16:56:39 metrics_agent.go:298: I! input: local.mysql started
2023-08-18 16:56:39	
2023/08/18 16:56:39 metrics_agent.go:298: I! input: local.mem started
2023-08-18 16:56:39	
2023/08/18 16:56:39 metrics_agent.go:298: I! input: local.linux_sysctl_fs started
2023-08-18 16:56:39	
2023/08/18 16:56:39 metrics_agent.go:298: I! input: local.kernel_vmstat started
2023-08-18 16:56:39	
2023/08/18 16:56:39 metrics_agent.go:298: I! input: local.kernel started
2023-08-18 16:56:39	
2023/08/18 16:56:39 metrics_agent.go:298: I! input: local.http_response started
2023-08-18 16:56:39	
2023/08/18 16:56:39 metrics_agent.go:298: I! input: local.docker started
2023-08-18 16:56:39	
2023/08/18 16:56:39 metrics_agent.go:298: I! input: local.diskio started
2023-08-18 16:56:39	
2023/08/18 16:56:39 metrics_agent.go:298: I! input: local.disk started
2023-08-18 16:56:39	
2023/08/18 16:56:39 metrics_agent.go:298: I! input: local.cpu started
2023-08-18 16:56:39	
2023/08/18 16:56:39 agent.go:39: I! agent starting
2023-08-18 16:56:39	
2023/08/18 16:56:39 prometheus_agent.go:19: I! prometheus scraping disabled!
2023-08-18 16:56:39	
2023/08/18 16:56:39 traces_agent.go:19: I! traces agent disabled!
2023-08-18 16:56:39	
2023/08/18 16:56:39 provider_manager.go:60: I! use input provider: []
2023-08-18 16:56:39	
2023/08/18 16:56:39 main.go:131: I! runner.vm_limits: (soft=unlimited, hard=unlimited)
2023-08-18 16:56:39	
2023/08/18 16:56:39 main.go:130: I! runner.fd_limits: (soft=40000500, hard=40000500)
2023-08-18 16:56:39	
2023/08/18 16:56:39 main.go:129: I! runner.hostname: ecs-auto
2023-08-18 16:56:39	
2023/08/18 16:56:39 main.go:128: I! runner.binarydir: /usr/bin
2023-08-18 16:56:39	
2023/08/18 16:56:39 I! tracing disabled
2023-08-18 16:56:39	
Failed to set additional capabilities on /usr/bin/categraf

每个instances 下配置一个timeout , 控制一下超时。