I tried adding new relic package into my nodeBB install by adding
after removing the new relic agent from app.js its working fine again.
I just wanted to let other nodeBB forum administrators to know about this issue if they face same problem.
New Relic Monitorring?
I did a search of the forum and noticed a few older threads indicating that New Relic was incompatible with NodeBB. Does anyone know if this is still the case?
Robert last edited by
I've actually recently tried this not to long ago, and I'm sad to say that it still is the case.
@ThingBreaker Yes, unfortunately so. New Relic works by hooking into express, excising the main router, and injects its own custom router with its own middleware to capture analytics.
It also happens to be how NodeBB handles the router, so when both New Relic and NodeBB try to mess around with the express router, there's a conflict and NodeBB (usually) loses.
If New Relic had an API, we could build a plugin to report to it
@julian I'm sure with enough community-driven interest and a wave of emails we could get them to change their ways