azure-sdk-for-js/sdk/metricsadvisor/perf-tests/ai-metrics-advisor
Jeremy Meng 1cae9db8e1 [EngSys] remove "audit" NPM script and it's related file
as we no longer use it and rely on GitHub security features.

***NO_CI***
2024-10-25 19:28:06 +00:00
..
test [EngSys] standardize OSS copyright header 2024-08-27 13:01:38 -07:00
README.md Perf tests metrics advisor (#14288) 2021-04-02 15:44:08 -07:00
package.json [EngSys] remove "audit" NPM script and it's related file 2024-10-25 19:28:06 +00:00
sample.env Perf tests metrics advisor (#14288) 2021-04-02 15:44:08 -07:00
tsconfig.json [EngSys] remove tsconfig.package.json 2024-07-16 13:27:25 +00:00

README.md

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