You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@aalexand Not exactly, my "reuse" means we can re-read a profile without restarting pprof.
A temporary modification is like what I write above, set webInterface a global var, which helps me out.
You can close this issue if there is not any good resolution at present.
What did you do?
In my case, I built a monitor server which was integrated with pprof.
However I haven't found options to reuse existing webInterface, thus the code wouldn't work.
What did you expect to see?
I modified the source code in internal/driver/webui.go:
It makes sense, but apparently it is not a good idea.
What did you see instead?
I hope this feature could be an option in main function, or anything similarly. Thank you.
The text was updated successfully, but these errors were encountered: