Updated on 2025-07-07 GMT+08:00

Migrating Custom Views of Grafana

In Grafana v1.3.1 and later versions, open-source Grafana versions v10 and v7 are available. However, if you upgrade the open-source Grafana version from v7.x to v10.x, custom views may be incompatible. In this case, you need to uninstall Grafana and reinstall it using open-source version v10. If there are custom views, perform the following operations to migrate them.

Step 1: Export Custom Views from Grafana of a Version Earlier Than 1.3.1

  1. Log in to the Grafana console. In the navigation pane, choose Dashboards > Manage. Then, click the view name to go to the details page.

  2. In the upper left corner, click Share dashboard or panel.

  3. Click the Export tab and click Save to file.

  4. Repeat the preceding steps to export all custom views.

Step 2: Uninstall and Reinstall Grafana

  1. Log in to the CCE console and click the cluster name to access the cluster console. In the navigation pane, choose Add-ons. Then, locate Grafana on the right and click Uninstall.
  2. Reinstall the add-on. Select v10 for Open-Source Community Version. For more parameters, see Grafana.

  3. Click Install.

Step 3: Import Custom Views

  1. Log in to Grafana of the new version and go to the Dashboards page.

  2. Click Import on the right.

  3. Upload a custom view exported in Step 1: Export Custom Views from Grafana of a Version Earlier Than 1.3.1.

  4. Click Import.

  5. Check whether the view is normal and repeat the preceding steps to import all custom views.