Skip to content

chore: Updated publish_layers.sh to uninstall the pprof dependency in Node.js agent#456

Merged
aavinash-nr merged 1 commit intonewrelic:masterfrom
bizob2828:remove-pprof-pkg
Mar 16, 2026
Merged

chore: Updated publish_layers.sh to uninstall the pprof dependency in Node.js agent#456
aavinash-nr merged 1 commit intonewrelic:masterfrom
bizob2828:remove-pprof-pkg

Conversation

@bizob2828
Copy link
Copy Markdown
Member

We are going to be rolling out a new agent version next week that has LP support for continuous profiling. The package that we use is 11mb as it is a native module with many pre-built packages. The initial release does not have support for profiling in serverless mode. The agent prevents it from loading the dependencies and harvesting data. I have tested that it will not crash when the @datadog/pprof module is removed from the lambda layer.

Copy link
Copy Markdown
Contributor

@aavinash-nr aavinash-nr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! , I have cross check and everything is working fine.

@aavinash-nr aavinash-nr merged commit 88f4550 into newrelic:master Mar 16, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants