Provision resources and sync dashboards
Documentationbreadcrumb arrow Grafana documentationbreadcrumb arrow Observability as Codebreadcrumb arrow Provision resources and sync dashboards
Enterprise Open source RSS

Provision resources and sync dashboards

Caution

Provisioning is an experimental feature introduced in Grafana v12 for open source and Enterprise editions. Engineering and on-call support is not available. Documentation is either limited or not provided outside of code comments. No SLA is provided. This feature is not publicly available in Grafana Cloud yet.

Sign up for Grafana Cloud Git Sync early access using this form.

Using Provisioning, you can configure how to store your dashboard JSON files in either GitHub repositories using Git Sync or a local path.

Of the two experimental options, Git Sync is the recommended method for provisioning your dashboards. You can synchronize any new dashboards and changes to existing dashboards to your configured GitHub repository. If you push a change in the repository, those changes are mirrored in your Grafana instance. For more information on configuring Git Sync, refer to Set up Git Sync.

Refer to Set up file provisioning to learn more about the version of local file provisioning in Grafana 12.

Provisioned folders and connections

Dashboards and folders saved to the local path are referred to as “provisioned” resources and are labeled as such in the Grafana UI.

Dashboards saved in your GitHub repository or local folder configured appear in a provisioned folder in Grafana.

You can set a single folder, or multiple folders to a different repository, with up to 10 connections. Alternatively, your entire Grafana instance can be the provisioned folder.

How it works

A user decides to update a provisioned dashboard that is either stored within a GitHub repository (Git Sync workflow) or in a local file (local file workflow).

Git Sync workflow

Resources provisioned with Git Sync can be modified from within the Grafana UI or within the GitHub repository. Changes made in either the repository or the Grafana UI are bidirectional.

For example, when a user updates dashboards within the Grafana UI, they choose Save to preserve the changes. Grafana notifies them that the dashboard is provisioned in a GitHub repository. They choose how to preserve their changes: either saved directly to a branch or pushed to a new branch using a pull request in GitHub. If they chose a new branch, then they open the pull request and follow their normal workflow.

Grafana polls GitHub at a regular interval. The connection is established using a personal access token for authorization. With the webhooks feature enabled, repository notifications appear almost immediately. Without webhooks, Grafana polls for changes at the specified interval. The default polling interval is 60 seconds.

Any changes made in the provisioned files stored in the GitHub repository are reflected in the Grafana database. The Grafana UI reads the database and updates the UI to reflect these changes.

Local file workflow

In the local file workflow, all provisioned resources are changed in the local files. The user can’t use the Grafana UI to edit or delete provisioned resources.

Any changes made in the provisioned files are reflected in the Grafana database. The Grafana UI reads the database and updates the UI to reflect these changes.

Explore provisioning