Comment on page
Configuring NewRelic
Available only on Linux. WSL is not supported.
NewRelic will allow monitoring performance during development, hopefully allowing to spot performance regressions before going to prod.
You will need an infrastructure container running for the NewRelic daemon.
docker run \
-d \
--name newrelic-infra \
--network=host \
--cap-add=SYS_PTRACE \
--privileged \
--pid=host \
-v "/:/host:ro" \
-v "/var/run/docker.sock:/var/run/docker.sock" \
-e NRIA_LICENSE_KEY=<LICENSE_KEY> \
newrelic/infrastructure:latest
Replace
<LICENSE_KEY>
with your license keymodule.exports = {
... // other configurations
configuration: {
newRelic: {
enabled: true,
licenseKey: '<LICENSE_KEY>'
}
}
};
Last modified 21d ago