14 строки
679 B
Markdown
14 строки
679 B
Markdown
|
### Guide
|
||
|
|
||
|
1. Build the ai-metrics-advisor perf tests package `rush build -t perf-ai-metrics-advisor`.
|
||
|
2. Copy the `sample.env` file and name it as `.env`.
|
||
|
3. Create a metrics advisor client account and populate the `.env` file with the values of variables specified from the `sample.env`
|
||
|
4. 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`
|