Enhancement: Support for Sentry Logging #3132
Vinnie-Singleton-NN
started this conversation in
Feature Requests & Suggestions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to integgrate Sentry logging into the project? We've been testing this locally for error tracking and performance monitoring. The process we followed is based on the official Sentry documentation for Node.js here: https://docs.sentry.io/platforms/javascript/guides/node/
Basically we followed these steps to implement it:
We added Sentry as a dependency by running:
npm install --save @sentry/node @sentry/profiling-node
This updated our package.json and package-lock.json files accordingly.
We created an instrument.js file that initializes Sentry with the necessary configuration.
We then imported instrument.js at the very beginning of our entrypoint file (which I believe is) api/app/index.js to make sure Sentry captures all relevant info.
Any chance that Sentry logging functionality could be added to the project by default?
Beta Was this translation helpful? Give feedback.
All reactions