Skip to main content

Import and export your Grafana dashboards

Abstract

Learn how to import and export your Grafana dashboards.

Grafana is open source visualization and analytics software that lets you query and visualize your time-series database data. This topic describes how to import and export your Grafana dashboards to be able to share these.

Sitecore role(s) specific dashboard for Content Delivery and Content Management.

MCC-Grafana-scdashboards.png
MCC-Grafana-contentdelivery-dashboard.png
MCC-Grafana-contentdelivery-dashboard-errorrate.png

Tip

You must have a Grafana account with admin rights to perform the steps described in this section.

To add a custom Grafana dashboard:

  1. Login to Grafana and create a new dashboard.

  2. Export your dashboard to json file. See Granfana documentation to find out how to do this.

  3. Put the exported file under the grafana-dashboards/ folder.

  4. Run the Application pipeline.

Note

You must have a (free) Grafana account to perform the steps described in this section.

To export Grafana dashboards:

  1. Create a dashboard in a Grafana instance and save it.

  2. In the dashboard menu, click Share dashboard to export the dashboard to your computer.

    On the Export tab, enable to share externally and click Save to file.

    MC-Grafana-Share.png

To share your Grafana dashboard:

  1. Go to Grafana's official and community build dashboards page.

  2. In the bottom left panel, click Upload a dashboard.

  3. In the Upload dashboard dialog box, click select dashboard.json file to locate the dashboard on your computer.

  4. Click Upload dashboard.

  5. On the dashboard settings page, fill in the details and click Save and Publish.

Important

You must have a Grafana account with admin rights to perform the steps described in this section.

To import the Grafana dashboard to solution:

  1. On the create tab, select Import.

  2. Paste the ID of the dashboard you want to import and click Load.

  3. Select the Data Source as Prometheus and click Import.

    Note

    Prometheus is an open source systems monitoring system for which Grafana provides out-of-the-box support.