Skip to content

Latest commit

 

History

History
68 lines (46 loc) · 1.71 KB

README.md

File metadata and controls

68 lines (46 loc) · 1.71 KB

Ark New Relic Plugin

New Relic performance monitoring and management integration for Ark Core.

❤️ Support maintenance and development of plugins

If you find this or other plugins useful please consider

  • voting for deadlock delegate
  • donating to AWtgFYbvtLDYccJvC5MChk4dpiUy2Krt2U

to support development new plugins and tools for Ark's Ecosystem and maintenance of existing ones. Full list of contributions can be found on https://arkdelegatesio/delegate/deadlock/. 🖖

Installation

For production:

yarn global add @deadlock-delegate/newrelic

For development:

cd ~/ark-core/plugins
git clone https://github.com/deadlock-delegate/ark-newrelic
lerna bootstrap

Registration

Open ~/.config/ark-core/<network>/plugins.js (replace with mainnet, devnet or testnet) and add the following as the first entry.

'@deadlock-delegate/newrelic': {
    enabled: true,
},

like so:

module.exports = {
  '@deadlock-delegate/newrelic': {
    enabled: true,
  },  // this is the newly added line
  '@arkecosystem/core-event-emitter': {},
  '@arkecosystem/core-config': {},
  ...
}

Configuration

Open .env file that is located at ~/.config/ark-core/<network>/.env ( should be replaced by either mainnet, devnet or testnet) and add the following environment variables:

NEW_RELIC_LICENSE_KEY=yourlicensekeygoeshere
NEW_RELIC_APP_NAME=your-name-of-the-app
NEW_RELIC_NO_CONFIG_FILE=true

Credits

License

MIT © roks0n