Alerting: add safeguard for migrations that might cause dataloss (#48526)

* Alerting: add safeguard for migrations that might cause dataloss

* add test for panic

* add documentation
This commit is contained in:
Jean-Philippe Quéméner
2022-05-02 10:38:42 +02:00
committed by GitHub
parent a5c570a5f6
commit 0a87ef06af
6 changed files with 37 additions and 0 deletions
@@ -135,6 +135,10 @@ Options are `production` and `development`. Default is `production`. _Do not_ ch
Set the name of the grafana-server instance. Used in logging, internal metrics, and clustering info. Defaults to: `${HOSTNAME}`, which will be replaced with
environment variable `HOSTNAME`, if that is empty or does not exist Grafana will try to use system calls to get the machine name.
### force_migration
Force migration will run migrations that might cause data loss. Default is `false`.
<hr />
## [paths]