
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
chpr-newrelic
Advanced tools
The purpose of this library is to make a consistent integration of newrelic in all node apps as simple as possible, and to have to modify all the projects as rarely as possible.
This library is here to centralize the configuration of newrelic instead of duplicating it across all node applications
Your app must have these environment variables defined to use this library
NEW_RELIC_ENABLED: "true"
or "false"
(default "false"
). Defines whether
newrelic should be used or not. If set to "false"
, newrelic won't be
loaded at all.
NEW_RELIC_LICENSE_KEY: The licence key to use with newrelic.
NEW_RELIC_APP_NAME: The application name in newrelic
Don't use any other newrelic configuration variables
Insert this line at the very top of the entry point of the process.
require('chpr-newrelic');
Don't put a newrelic.js file in your project
When making changing on this library testing is not trivial, as this project is only plumbing between your app and newrelic.
You will need to:
But it's ok because this project won't change a lot.
FAQs
This utility library implements our standard newrelic integration
We found that chpr-newrelic demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.