Interceptor
In the src/common/interceptors/newrelic.interceptor.ts
file is the configuration that New Relic recommends for NestJS:
The New Relic interceptor is invoked in the src/main.ts
file, and is controlled via the NEW_RELIC_ENABLED environment variable, if you wish to use it.
Last updated
Was this helpful?