From d1b5e5d1df37b2b57ed40e0fccdcb27214f18e33 Mon Sep 17 00:00:00 2001 From: Adnan Rahic Date: Thu, 20 Feb 2020 13:58:14 +0100 Subject: [PATCH] edited readme --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b7ea7b..19fe66c 100644 --- a/README.md +++ b/README.md @@ -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):