-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cpu profiling already in use #26
Comments
nice idea - this has saved me having to setup special collectors and grafana dashboards |
Thanks for the feedback! I'm glad you found it useful.
Under the hood, live-pprof fetches CPU usage from It's easy to trigger the error when someone opens two pages if both start monitoring. The error also happens if someone opens the URL editor while the page monitoring is on, because they both try to visit the These are expected errors. However, the error also occurs when the webpage code has bugs, like misusing React hooks, which is unexpected. Refreshing the page usually fixes this. But if the error keeps showing up, then we need to look into it.
I run into this problem sometimes too. Usually, it’s because my target app doesn’t use much CPU. This might be what |
I've hit the same problem too. One way i tried to avoid it was only running the Next time i trigger it, i'll watch for what i did. |
Thought I might give some feedback.
I have managed to get a pprof server running in one pod in my k8s cluster and have forwarded a port for one pod.
Running live-pprof seems to work.
There are repeated Internal Server Error Could not enable CPU profiling - already in use.
This was with the pod not doing anything. Once I started running tests this warning went away.
However the graphs do not show anything like the examples shown in the README.
The text was updated successfully, but these errors were encountered: