Skip to content
Rate this page
Thanks for your feedback
Thank you! The feedback has been submitted.

Get free database assistance or contact our experts for personalized support.

Exporting metrics for a specific dashboard

PMM has many dashboards, and you may not want to export them all. Instead, you may prefer to export only a few related to the performance issue you are experiencing.

PMM Dump supports the option --dashboard that allows you to specify which dashboard name or names you want to export.

For example, to export only the “MySQL InnoDB Details” dashboard, use the command:

$ pmm-dump export --pmm-url= 'http://admin:[email protected]' \
> --dashboard='MySQL InnoDB Details'

To export several dashboards, specify the --dashboard option more than once:

$ pmm-dump export --pmm-url= 'http://admin:[email protected]' \
> --dashboard='MySQL InnoDB Details' \
> --dashboard='Node Summary' --dashboard='MySQL Instance Summary'

This command exports the dashboards “MySQL InnoDB Details”, “Node Summary”, and “MySQL Instance Summary”.

You can combine the option --dashboard with the option --instance to export only the required dashboards for the instances you need help with.

The following will export dashboards “MongoDB Instance Summary” and “Node Summary” for instances supp-mongo_3599, supp-mongo_3600, and supp-mongo_3601:

$ pmm-dump export --pmm-url= 'http://admin:[email protected]' \
> --dashboard='MongoDB Instance Summary' --dashboard='Node Summary'\
> --instance='supp-mongo_3599' --instance='supp-mongo_3600' \
> --instance='supp-mongo_3601'