Support serverless (aws lambda)
I'm trying to install the profiler on aws lambda.
As soon as I trigger the lambda I get this error:
Error: Cannot find module '/var/task/node_modules/@google-cloud/profiler/node_modules/pprof/build/node-v83-linux-x64-glibc/pprof.node
It should work on aws lambda? Also tried create the files using node-gyp but I didn't fully understand how to do that.
What version of node are you using? We don't currently have prebuilt binaries of pprof-nodejs for newer versions of node https://github.com/google/pprof-nodejs/issues/170. You can definitely build your own binaries, not too familiar with how to do that with lambda.
@dorbenzvi is this still a problem for you?