| services.grafana.settings.database.type | Database type.
|
| services.grafana.settings.database.name | The name of the Grafana database.
|
| services.grafana.settings.database.user | The database user (not applicable for sqlite3).
|
| services.grafana.settings.database.wal | For sqlite3 only
|
| services.grafana.settings.database.path | Only applicable to sqlite3 database
|
| services.grafana.settings.database.host | Only applicable to MySQL or Postgres
|
| services.grafana.settings.database.ssl_mode | For Postgres, use either disable, require or verify-full
|
| services.grafana.settings.database.password | The database user's password (not applicable for sqlite3)
|
| services.grafana.settings.database.cache_mode | For sqlite3 only.
Shared cache setting used for connecting to the database.
|
| services.grafana.settings.database.log_queries | Set to true to log the sql calls and execution times
|
| services.grafana.settings.database.ca_cert_path | The path to the CA certificate to use.
|
| services.grafana.settings.database.max_open_conn | The maximum number of open connections to the database.
|
| services.grafana.settings.database.max_idle_conn | The maximum number of connections in the idle connection pool.
|
| services.grafana.settings.database.query_retries | This setting applies to sqlite3 only and controls the number of times the system retries a query when the database is locked.
|
| services.grafana.settings.database.client_key_path | The path to the client key
|
| services.grafana.settings.database.isolation_level | Only the MySQL driver supports isolation levels in Grafana
|
| services.grafana.settings.database.client_cert_path | The path to the client cert
|
| services.grafana.settings.database.server_cert_name | The common name field of the certificate used by the mysql or postgres server
|
| services.grafana.settings.database.conn_max_lifetime | Sets the maximum amount of time a connection may be reused
|
| services.grafana.settings.database.transaction_retries | This setting applies to sqlite3 only and controls the number of times the system retries a transaction when the database is locked.
|
| services.grafana.settings.database.locking_attempt_timeout_sec | For mysql, if the migrationLocking feature toggle is set,
specify the time (in seconds) to wait before failing to lock the database for the migrations.
|