Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Further thinking about the Node require stack? #236

Open
custa1200 opened this issue Jun 20, 2016 · 2 comments
Open

Further thinking about the Node require stack? #236

custa1200 opened this issue Jun 20, 2016 · 2 comments

Comments

@custa1200
Copy link

As a follow up to #227 I have installed New Relic as suggested but it is complaining about not being the first require in the stack, which means that it is not instrumenting the rest of the node stack. Would be great if there was a prepend and an append option for the requires somehow

screen shot 2016-06-21 at 9 22 06 am

@robhrt7
Copy link
Member

robhrt7 commented Jun 21, 2016

Hi, you're trying to set up JS error tracking? Are you running SourceJS instance in production for serious scale?

You can try wrapping SourceJS app into other node file, where you first require your script, and then the app.js from the root.

@custa1200
Copy link
Author

My SourceJS instance has also become a bit of a testbed to show stuff to other developers. :) Certainly not at scale at this point.

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

No branches or pull requests

2 participants