A small script to capture server measurements from a workspace and transform them into CSV.
-
Install project dependencies
npm install
-
Open the
index.js
file, and enter the necessary configuration. Such as username, password, workspace. You should also add to theserverIds
list the ids of the servers you are targeting. -
Run the script
npm start
-
Once the script has be run, you will find the out inside the
output/csv
folder. You will have a file per server. -
If you need to aggregate all the servers output into one big file. You can run the following command. You will find in the
output/csv
folder a new file with the nameaggregated-output.csv
npm run merger
If you would like to explore the raw json output, run the following command and check the output/json
folder
npm run debug