adds the --pprof flag to enable an HTTP server providing plugin profiling info via pprof. This is useful for debugging and investigating issues such as memory leaks.
I added this to investigate issues in a plugin being developed and figured it would be good to have built into the SDK so it is available to all plugins.
This PR:
--pprof
flag to enable an HTTP server providing plugin profiling info via pprof. This is useful for debugging and investigating issues such as memory leaks.I added this to investigate issues in a plugin being developed and figured it would be good to have built into the SDK so it is available to all plugins.