Skip to content

Support serverless (aws lambda) #855

@dorbenzvi

Description

@dorbenzvi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    api: cloudprofilerIssues related to the googleapis/cloud-profiler-nodejs API.priority: p3Desirable enhancement or fix. May not be included in next release.type: questionRequest for information or clarification. Not an issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions