679 B
679 B
Guide
- Build the ai-metrics-advisor perf tests package
rush build -t perf-ai-metrics-advisor
. - Copy the
sample.env
file and name it as.env
. - Create a metrics advisor client account and populate the
.env
file with the values of variables specified from thesample.env
- Run the tests as follows:
- list anomalies
npm run perf-test:node -- AnomaliesListTest --warmup 1 --iterations 1 --parallel 50 --duration 15
- list incidents
npm run perf-test:node -- IncidentsListTest --warmup 1 --iterations 1 --parallel 50 --duration 15
- get root causes
npm run perf-test:node -- RootCauseTest --warmup 1 --iterations 1 --parallel 50 --duration 15