A current LTS or Stable version of Node.js. We recommend using nvm to manage node versions.
$ npm install
See the example/
directory. You can start up the example app
with the following. Supply your own Hosted Graphite
key.
$ NODE_ENV=production ENVIRONMENT=production HOSTEDGRAPHITE_APIKEY=[valid-key] DEBUG=* DEBUGMETRICS=1 PORT=5000 node example/app.js
This package requires a few environment variable to be set.
-
NODE_ENV
-
ENVIRONMENT
-
HOSTEDGRAPHITE_APIKEY
-
NODE_APP_INSTANCE
-
REGION
-
DEBUGMETRICS