Create a new dashboard

Creating a new dashboard in a Git Sync provisioned folder follows the standard Grafana dashboard creation process. The key difference is selecting a provisioned folder as the location, which ensures the dashboard is tracked by Git Sync and saved to your connected repository.

To create a new dashboard in a Git Sync provisioned folder, complete the following steps:

In this section, you create a dashboard and add a first visualization.

  1. In Grafana, click Dashboards in the navigation menu.

  2. Click New > New dashboard.

  3. If the Add sidebar is not open, click Add (plus) in the dashboard edit pane.

  4. In the Add sidebar, click Panel to add a panel to the dashboard.

  5. Click Edit visualization (or Configure visualization) to open the panel editor.

  6. Select a data source for your visualization, for example, a Prometheus data source.

  7. In Queries & Expressions, make sure query A is selected and your Prometheus data source is chosen.

  8. Above the Metric field, find the Builder / Code toggle (next to Run queries) and click Code.

  9. In the Code query field under query A, enter a PromQL query that exists in your data source, for example, up.

  10. In the right sidebar, open the All visualizations tab and click Time series.

  11. Click Run queries to refresh the preview.

  12. Click Back to dashboard to return to the dashboard with your panel.

The dashboard is created with your first visualization. The dashboard remains unsaved until you save it to a Git Sync provisioned folder, which you’ll do in the next milestone.

In the next milestone, you’ll save the dashboard to Git using Git Sync workflows.


More to explore (optional)

At this point in your journey, you can explore the following paths:


page 3 of 9