Docs: Rewording prune setting when provisioning datasources (#95059)

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
This commit is contained in:
Andres Martinez Gotor 2024-10-23 10:31:53 +02:00 committed by GitHub
parent a03652494c
commit e33573d786
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -81,7 +81,7 @@ The configuration file can also list data sources to automatically delete, calle
Grafana deletes the data sources listed in `deleteDatasources` _before_ adding or updating those in the `datasources` list. Grafana deletes the data sources listed in `deleteDatasources` _before_ adding or updating those in the `datasources` list.
You can configure Grafana to automatically delete provisioned data sources when they're removed from the provisioning file. You can configure Grafana to automatically delete provisioned data sources when they're removed from the provisioning file.
To do so, add `prune: true` to the root of your provisioning file. To do so, add `prune: true` to the root of your data source provisioning file.
With this configuration, Grafana also removes the provisioned data sources if you remove the provisioning file entirely. With this configuration, Grafana also removes the provisioned data sources if you remove the provisioning file entirely.
### Running multiple Grafana instances ### Running multiple Grafana instances