azure-sdk-for-js/sdk/metricsadvisor/perf-tests/ai-metrics-advisor/README.md

14 строки
679 B
Markdown
Исходник Постоянная ссылка Обычный вид История

2021-04-03 01:44:08 +03:00
### 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`