raptor-parse
Parse Raptor's LDJSON metrics files into the following JSON hierarchy:
- app origin
- timestamp of the test series
- performance metric
- array of values
- performance metric
- timestamp of the test series
Usage
$ raptor-parse metrics.ldjson
API
You can also use raptor-parse programmatically. It exposes two functions
for working with Raptor data: read
reads in a LDJSON stream with the raw
metrics data and parse
aggregates the data into a JSON object.
// Needed for Node.js 0.10 and 0.12.; var fs = ;var rp = ; rp ;
Installation
npm install -g raptor-parse