Skip to content

A Nuxt.js module to easily add NewRelic APM data to your project.

License

Notifications You must be signed in to change notification settings

TheBlockCrypto/nuxtjs-newrelic

 
 

Repository files navigation

nuxtjs-newrelic

A Nuxt.js module to easily add NewRelic APM data to your project.

Note: By default, this module only gets the Node.js server data, without browser monitoring.

Pre-requisites

Setup

  1. Add drunomics/nuxtjs-newrelic dependency to your Nuxt.js project
npm install drunomics/nuxtjs-newrelic
  1. Add @drunomics/nuxtjs-newrelic to the modules section of nuxt.config.js
{
  modules: [
    '@drunomics/nuxtjs-newrelic'
  ]
}
  1. Add the required variables to your .env:
NEW_RELIC_LICENSE_KEY=your_newrelic_license
NEW_RELIC_APP_NAME=Default

To disable config and use only vars:

NEW_RELIC_NO_CONFIG_FILE=true

Docs

  1. NewRelic Node.js agent documentation:

https://docs.newrelic.com/docs/agents/nodejs-agent/installation-configuration/nodejs-agent-configuration

  1. List of all dotenv variables:

https://docs.newrelic.com/docs/agents/nodejs-agent/installation-configuration/nodejs-agent-configuration/#exports_config

License

MIT License

Credits

Development sponsored by drunomics [email protected]

About

A Nuxt.js module to easily add NewRelic APM data to your project.

Resources

License

Stars

Watchers

Forks

Languages

  • JavaScript 100.0%