Recon 性能调试插件

emqx_recon Recon 性能调试插件 - 图1 (opens new window) 插件集成了 recon 性能调测库,可用于查看当前系统的一些状态信息,例如:

  1. ./bin/emqx_ctl recon
  2. recon memory #recon_alloc:memory/2
  3. recon allocated #recon_alloc:memory(allocated_types, current|max)
  4. recon bin_leak #recon:bin_leak(100)
  5. recon node_stats #recon:node_stats(10, 1000)
  6. recon remote_load Mod #recon:remote_load(Mod)

配置 Recon 插件

etc/plugins/emqx_recon.conf:

  1. %% Garbage Collection: 10 minutes
  2. recon.gc_interval = 600