emqx/apps/emqx_recon
Zaiming Shi 0cf8380822 chore(apps): Sync plugins to apps dir
emqx_telemetry from tag v4.2.7
all other apps are from e4.2.4
see sync-apps.sh
2021-02-06 11:42:40 +01:00
..
.github/workflows chore(apps): Sync plugins to apps dir 2021-02-06 11:42:40 +01:00
etc chore(apps): Sync plugins to apps dir 2021-02-06 11:42:40 +01:00
priv chore(apps): Sync plugins to apps dir 2021-02-06 11:42:40 +01:00
src chore(apps): Sync plugins to apps dir 2021-02-06 11:42:40 +01:00
test chore(apps): Sync plugins to apps dir 2021-02-06 11:42:40 +01:00
.gitignore chore(apps): Sync plugins to apps dir 2021-02-06 11:42:40 +01:00
LICENSE chore(apps): Sync plugins to apps dir 2021-02-06 11:42:40 +01:00
Makefile chore(apps): Sync plugins to apps dir 2021-02-06 11:42:40 +01:00
README.md chore(apps): Sync plugins to apps dir 2021-02-06 11:42:40 +01:00
rebar.config chore(apps): Sync plugins to apps dir 2021-02-06 11:42:40 +01:00
rebar.config.script chore(apps): Sync plugins to apps dir 2021-02-06 11:42:40 +01:00

README.md

emqx-recon

EMQ X Recon Debug/Optimize Plugin

emqx_recon.conf ----=----------

## Global GC Interval.
##
## Value: Duration
##  - h: hour
##  - m: minute
##  - s: second
##
## Examples:
##  - 2h:  2 hours
##  - 30m: 30 minutes
##  - 20s: 20 seconds
##
## Defaut: 5m
recon.gc_interval = 5m

Load the Plugin

./bin/emqx_ctl plugins load emqx_recon

Commands

./bin/emqx_ctl recon

recon memory                            #recon_alloc:memory/2
recon allocated                         #recon_alloc:memory(allocated_types, current|max)
recon bin_leak                          #recon:bin_leak(100)
recon node_stats                        #recon:node_stats(10, 1000)
recon remote_load Mod                   #recon:remote_load(Mod)

GC

When the plugin is loaded, global GC will run periodically.

License

Apache License Version 2.0

Author

EMQ X Team.