Skip to main content



➜  ~ mprove run -h
Run dashboards and visualizations

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

$ mprove run

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

--project-id #0 (required) Project Id
--repo #0 (required, "dev" or "production")
--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
--viz-ids #0 (optional) Filter visualizations to run by visualization names, separated by comma
--no-dashboards (default false) Do not run dashboards
--no-vizs (default false) Do not run visualizations
--get-dashboards (default false), show dashboards in output
--get-vizs (default false), show visualizations 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 dev --branch main --env prod --wait --get-dashboards --get-vizs

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

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

Example Output

➜  ~ mprove run \
--env-file-path ~/mprove/.env \
--project-id DXYE72ODCP5LWPWH2EXQ \
--concurrency 2 \
--wait \
--repo production \
--branch main \
--env prod \
--dashboard-ids ec1_d1 \

(empty array)
(empty array)
started: 0
running: 0
completed: 15
error: 0
canceled: 0