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
The agent is now compatible with App Engine, starting v2.2.3. However, the ppof panics in App Engine standard environment. We'll try to find out if profiling is possible at all. In App Engine flexible environment the agent works without any problems.
The agent can still be used App Engine standard local development environment. Because of the limitations on background tasks and context dependency of http client, the agent should be used in manual profiling and reporting mode (see readme), here is an example:
Activity
dmelikyan commentedon Nov 16, 2017
The agent is now compatible with App Engine, starting v2.2.3. However, the ppof panics in App Engine standard environment. We'll try to find out if profiling is possible at all. In App Engine flexible environment the agent works without any problems.
The agent can still be used App Engine standard local development environment. Because of the limitations on background tasks and context dependency of http client, the agent should be used in manual profiling and reporting mode (see readme), here is an example:
benguild commentedon Nov 16, 2017
So you're saying that the code above will not work in Standard on a live deployment?
dmelikyan commentedon Nov 16, 2017
It didn't work for me, the pprof panics. I've also tried pprof CPU profiler directly, without the agent, same error.
benguild commentedon Nov 16, 2017
You can't CPU profile on App Engine Standard as far as I know. However, you can use heap profiling and some others.
dmelikyan commentedon Nov 16, 2017
I'll see if any of the profilers works. If yes, then we could add a possibility to disable some profilers and keep only supported ones.
benguild commentedon Nov 16, 2017
Anything that uses
syscallis banned, and probably some others. However the heap one definitely works.