-
Notifications
You must be signed in to change notification settings - Fork 13
Http module patches http.reqeust in a way thats incompatable with NodeJs > v10 #78
Comments
Hi @romansavchenko, I've created an internal ticket for this. Do you mind emailing me (my email is in my profile) so I know if you're a customer? |
I think we'll need to rephrase it as support for NodeJS v12, which is the next LTS after v10. While possibly |
Hi @jtmalinowski |
Hi @rkburnett, https://github.com/signalfx/splunk-otel-js is currently in beta, we provide support for it, and once it's 1.0, which should be soon, it'll replace |
@jtmal-signalfx Thanks for responding. The migration link Migrate from the SignalFx Tracing Library for JS does not work. |
@andrew-prior I'm working on it, I'll let you know when it's fixed. |
@jtmalinowski Is it still a possibility to get support for Node 12 for |
@rkburnett Of course, we still provide support for this library, but to start that, I'd need to open a support ticket for you (in which case please let me know which company you're at, the email address is in my profile). The problem with providing an ETA is that I can't just upgrade the |
Is there any update on fixing the migration guide @jtmalinowski ? Thanks. |
It's going through proof-reading and testing now, we should merge the fix tomorrow or the day after. |
Thanks @jtmalinowski ! |
The PR is ready to merge but I need to sync it with a release, that will happen tomorrow afternoon CET. If you'd like a sneak peak then it's here signalfx/splunk-otel-js#169. In addition to that, I'll be estimating the effort to support Node.js 12 some time next week. |
Thanks. I have read though the MR. I appreciate that you point out the "limitations" even though your colleague was a little wary of it. It helped me know what it is going to take to get feature parity with signalfx-nodejs-tracing library. |
Guide is up now https://github.com/signalfx/splunk-otel-js/blob/main/MIGRATING.md. I'll be looking into support for Node.js 12 soon. |
Any estimation on what it will take to patch signalfx-nodejs-tracing to not clobber the request object. |
@andrew-prior @rkburnett This is now in the backlog. I don't have an exact date yet, but I'd expect this to be done sometime within the next 2 weeks. |
@jtmalinowski Any updates on above ? |
@sanknmFinicity right, I should have updated the issue. It's quite difficult to resolve this properly, because 1) we want to be clear about which versions are supported, and fixing this would mean committing to supporting Node.js v12, and that triggers a cascade of many necessary fixes 2) all Node.js development efforts now go towards https://github.com/signalfx/splunk-otel-js which supports 8.5 - latest LTS. If switching to |
It overwrites http.request and https.request with only two arguments: options and callback, while node api > 10 provides url, options and callback.
This breaks common modern implementations like
got
sindresorhus/got#876 (comment)The text was updated successfully, but these errors were encountered: