Mprove
.mdx

run

Usage

➜  ~ mprove run -h
Run dashboards, charts, and reports

━━━ Usage ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

$ mprove run

━━━ Options ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  --project-id #0       (required) Project Id
  --repo-type #0        (required, "dev", "production" or "session")
  --branch #0           (required) Git Branch
  --env #0              (required) Environment
  --concurrency #0      (optional) Max number of concurrent queries
  --wait                (default false) Wait for queries completion
  --sleep #0            (default 3) Sleep time between queries status check, seconds
  --dashboard-ids #0    (optional) Filter dashboards to run by dashboard names, separated by comma
  --chart-ids #0        (optional) Filter charts to run by chart names, separated by comma
  --no-dashboards       (default false) Do not run dashboards
  --no-charts           (default false) Do not run charts
  --get-dashboards      (default false), show dashboards in output
  --get-charts          (default false), show charts in output
  --report-ids #0       (optional) Filter reports to run by report names, separated by comma
  --no-reports          (default false) Do not run reports
  --get-reports         (default false), show reports in output
  --json                (default false)
  --env-file-path #0    (optional) Path to ".env" file

━━━ Examples ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Run for Dev repo and wait for completion
  $ mprove run --project-id DXYE72ODCP5LWPWH2EXQ --repo-type dev --branch main --env prod --wait --get-dashboards --get-charts

Run dashboards d1 and d2 for Dev repo
  $ mprove run --project-id DXYE72ODCP5LWPWH2EXQ --repo-type dev --branch main --env prod --no-charts --dashboard-ids d1,d2

Run for Production repo
  $ mprove run --project-id DXYE72ODCP5LWPWH2EXQ --repo-type production --branch main --env prod

Example Output

➜  ~ mprove run \
--env-file-path /mprove/.env \
--project-id DXYE72ODCP5LWPWH2EXQ \
--concurrency 2 \
--wait \
--repo-type production \
--branch main \
--env prod \
--no-dashboards \
--chart-ids QT8UY0Z1PR3YKP2M2KK9,W5LMN2TZJUKJ5EC5MK99

charts: 
  (empty array)
dashboards: 
  (empty array)
reports: 
  (empty array)
errorCharts: 
  (empty array)
errorDashboards: 
  (empty array)
errorReports: 
  (empty array)
queriesStats: 
  started:   0
  running:   0
  completed: 2
  error:     0
  canceled:  0

On this page