grafana/pkg/services/sqlstore
Kristin Laemmert 299c142f6a
QuotaService: refactor to use ReplDB for Get queries (#91333)
* Feature (quota service): Use ReplDB for quota service Gets

This adds the replDB to the quota service, as well as some more test helper functions to simplify updating tests. My intent is that the helper functions can be removed when this is fully rolled out (or not) and we're consistently using the ReplDB interface (or not!)

* test updates
2024-08-08 13:41:33 -04:00
..
migrations Tempo: Add migration to enable TraceQL streaming for Tempo datasources (#91340) 2024-08-06 18:09:06 +01:00
migrator chore (replstore): fix registration with multiple sql drivers, again (#90990) 2024-07-25 15:13:36 -04:00
permissions Folders: Allow folder editors and admins to create subfolders without any additional permissions (#91215) 2024-08-01 18:20:38 +03:00
searchstore Folders: Fix folder pagination for cloud instances with many folders (#90008) 2024-07-05 11:19:03 +01:00
session Chore: add/update sqlstore-related helper functions (#77408) 2023-11-03 10:30:52 -04:00
sqlutil Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
bulk_test.go Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
bulk.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
database_config_test.go refactor replCfg to look more like plugins/plugin config (#91142) 2024-07-30 12:09:56 -04:00
database_config.go refactor replCfg to look more like plugins/plugin config (#91142) 2024-07-30 12:09:56 -04:00
database_wrapper.go chore(tracing): add tracing for frontend and db session (#91509) 2024-08-05 17:17:39 -08:00
logger.go Chore: add/update sqlstore-related helper functions (#77408) 2023-11-03 10:30:52 -04:00
replstore_test.go refactor replCfg to look more like plugins/plugin config (#91142) 2024-07-30 12:09:56 -04:00
replstore.go QuotaService: refactor to use ReplDB for Get queries (#91333) 2024-08-08 13:41:33 -04:00
session_test.go Chore: Remove unused method in db.DB (#90433) 2024-07-17 08:17:23 +02:00
session.go chore(tracing): add tracing for frontend and db session (#91509) 2024-08-05 17:17:39 -08:00
sqlstore_metrics_test.go Metrics: Fixed grafana_database_conn_* metrics, and added new go_sql_stats_* metrics as eventual replacement (#54405) 2022-08-31 08:54:32 -04:00
sqlstore_metrics.go Metrics: Fixed grafana_database_conn_* metrics, and added new go_sql_stats_* metrics as eventual replacement (#54405) 2022-08-31 08:54:32 -04:00
sqlstore_test.go Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
sqlstore.go Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
tls_mysql.go Chore: Extract DatabaseConfig parsing from SQLStore (#81157) 2024-01-24 16:49:49 +01:00
transactions_test.go Chore: Make Cfg field private in SQLStore (#85593) 2024-04-24 10:38:40 +02:00
transactions.go SQLStore: Add test for nested transactions events (#60500) 2023-01-23 14:17:56 +01:00
user_test.go Chore: Remove unused method in db.DB (#90433) 2024-07-17 08:17:23 +02:00
user.go Users: Ensure default admin is created with a valid uid (#89981) 2024-07-03 12:06:10 +02:00