Docs: Add dashboard and folder apis docs (#101754)

This commit is contained in:
Stephanie Hingtgen
2025-04-25 05:06:12 -06:00
committed by GitHub
parent 3b036f0e78
commit 40799d1f57
4 changed files with 1339 additions and 17 deletions
@@ -855,6 +855,23 @@ Path to the default home dashboard. If this value is empty, then Grafana uses St
On Linux, Grafana uses `/usr/share/grafana/public/dashboards/home.json` as the default home dashboard location.
{{< /admonition >}}
### `[dashboard_cleanup]`
Settings related to cleaning up associated dashboards information if the dashboard was deleted through /apis.
#### `interval`
How often to run the job to cleanup associated resources. The default interval is `30s`. The minimum allowed value is `10s` to ensure the system isn't overloaded.
The interval string must include a unit suffix (ms, s, m, h), e.g. 30s or 1m.
#### `batch_size`
Number of deleted dashboards to process in each batch during the cleanup process.
Default: `10`, Minimum: `5`, Maximum: `200`.
Increasing this value allows processing more dashboards in each cleanup cycle but may impact system performance.
<hr />
### `[datasources]`