-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix: Fixed instrumentation of Fastify via ESM #2158
Conversation
Added replication test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I copied the tests to main of agent and they still pass. I'm not sure this reproduces the issue
It did reproduce it. But now it's not and I'm very confused. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok we talked IRL. I don't think this is the best place for this fix. I traced this back to #1894 as the regression. I think the fix should be here. That way we won't have code scattered that checks the nrEsmProxy
symbol. Keep in mind and it'll be obvious because we test pg in esm but there's code in pg instrumentation that checks this symbol as well
This'll be my priority on 2024-04-25. Too late in the day to get into complicated work like this. |
This resolves #2155.