Several alerts configured in Grafana experience DatasourceErrors with the message failed to build query 'A': database is locked somewhat regularly and resolve rapidly.
Which database is locked?
Is this an alert configuration issue or something else entirely?