You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So am I right in thinking you want to instrument only part of your Node application, excluding honeycomb-beeline from being monitored?
From the README:
You must call require('appmetrics'); before the require statements for any npm modules you want to monitor. Appmetrics must be initialized first so that it can instrument modules for monitoring as they are loaded.
What is wrong
Requiring appmetrics any point after calling
require('honeycomb-beeline')()
causes this nasty stack:What is expected
Appmetrics loads without showing
FATAL ERROR
and NodeJS does not exit as a result.Additional info
You can use the following Node application to reproduce the issue:
test.js
package.json
Note that placing the
require('appmetrics')
aboverequire('honeycomb-beeline')()
line does not cause an error, and Node executes as expected.The text was updated successfully, but these errors were encountered: