Skip to content

Commit

Permalink
edited readme
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanrahic committed Feb 20, 2020
1 parent 8c965bf commit d1b5e5d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ We use https://www.npmjs.com/package/rc for configuration. This means config par
locations command-line args or ENV variables. We recommend to use a file in current directory in INI or JSON format called ".spmagentrc".
This file can be generated by calling a helper script:

node ./node_modules/spm-agent-nodejs/bin/spmconfig.js YOUR-NODEJS-MONITORING-TOKEN YOUR-INFRA-MONITORING-TOKEN
export MONITORING_TOKEN=YOUR-NODEJS-MONITORING-TOKEN
export INFRA_TOKEN=YOUR-INFRA-MONITORING-TOKEN
node ./node_modules/spm-agent-nodejs/bin/spmconfig.js

The command above generates following default configuration file (YAML format):

Expand Down

0 comments on commit d1b5e5d

Please sign in to comment.