grafana/pkg/storage/unified/sql
Diego Augusto Molina 7d32d5eff4
Unistore: Reuse MySQL and Postgres Grafana core config instead of the object (#94223)
* Reuse MySQL and Postgres Grafana config instead of the object

- Only reuse the Grafana DB object for SQLite. Support for SQLite will be added in a different PR
- Fail when reusing the Grafana DB object if it is using DB instrumentation
- In the case that we have to reuse a Grafana DB with its instrumentation, fail with an error that describes a workaround
- Add regression tests to reproduce incident 2144

* remove temp file

* fix linter

* fix linter x2

* fix linter x3
2024-10-04 12:07:20 +00:00
..
data Revert "Unistore : Ensure Watch works in HA mode." (#94097) 2024-10-01 18:45:47 +00:00
db Unistore: Reuse MySQL and Postgres Grafana core config instead of the object (#94223) 2024-10-04 12:07:20 +00:00
dbutil
sqltemplate SQLTemplate: Make Ident only work for identifiers (not any string) (#92387) 2024-08-27 13:22:40 +03:00
test Unistore: Reuse MySQL and Postgres Grafana core config instead of the object (#94223) 2024-10-04 12:07:20 +00:00
testdata Revert "Unistore : Ensure Watch works in HA mode." (#94097) 2024-10-01 18:45:47 +00:00
backend.go Revert "Unistore : Ensure Watch works in HA mode." (#94097) 2024-10-01 18:45:47 +00:00
backend_test.go Revert "Unistore : Ensure Watch works in HA mode." (#94097) 2024-10-01 18:45:47 +00:00
continue.go
queries.go Revert "Unistore : Ensure Watch works in HA mode." (#94097) 2024-10-01 18:45:47 +00:00
queries_test.go Revert "Unistore : Ensure Watch works in HA mode." (#94097) 2024-10-01 18:45:47 +00:00
server.go Unistore: Reuse MySQL and Postgres Grafana core config instead of the object (#94223) 2024-10-04 12:07:20 +00:00
service.go ResourceClient: Exercise resource client in k8s apis tests (#93473) 2024-09-19 17:16:48 +03:00