newrelic / node-newrelic

New Relic Node.js agent code base. Developers are welcome to create pull requests here, please see our contributing guidelines. For New Relic technical support, please go to http://support.newrelic.com.
Apache License 2.0
971 stars 399 forks source link

Add BunJS compatibility #1959

Closed rodolfofrancoyummy closed 9 months ago

rodolfofrancoyummy commented 10 months ago

Is your feature request related to a problem? Please describe.

I'm trying to have the New Relic agent work inside a BunJS app. Starting the app using bun run -r newrelic src/index.ts is not working and importing the library in the first line of the entry file as import newrelic from 'newrelic' is also not working.

Feature Description

To be able to preload New Relic module and connect to my APM.

Describe Alternatives

Rewrite app from BunJS to NodeJS

Additional context

ElysiaJS Framework

Priority

Nice to Have

workato-integration[bot] commented 10 months ago

https://new-relic.atlassian.net/browse/NR-217609

workato-integration[bot] commented 9 months ago

This issue won't be actioned.

ygerass commented 9 months ago

Cannot prioritize this issue at the moment. Closing now, may reconsider in the future.

dgpt commented 6 months ago

adding my +1 to this feature request 🥺

canab commented 5 months ago

We are payed customer and we are migrating to Bun. If Newrelic does not want to support Bun, we will have to migrate from newrelic too.