grafana/pkg/tsdb
ying-jeanne c989f0fbbe
SQL: Migrate to use SDK contracts (#36635)
* convert SQLs to use sdk contracts

* make draft

* postgres

* intermedia

* get datasourceinfo filled at the beginning of the service

* move the interval into package because of cyclict  import and fix all postgres tests

* fix mysql test

* fix mssql

* fix the test for pr https://github.com/grafana/grafana/issues/35839

* fix some issue about intervalv2 package

* update sql test

* wire migration for SQLs

* add sqls to the background process

* make it register instead of register and start

* revert formatting

* fix tests

* fix linter

* remove integration test

* Postgres test fix

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-09-07 09:35:37 +02:00
..
azuremonitor Azure Monitor: Add support for numeric fields in ARG (#38728) 2021-09-01 09:02:08 +02:00
cloudmonitoring Cloud-Monitoring: Ensure service gets dependencies (#38788) 2021-09-01 15:29:21 +02:00
cloudwatch CloudWatch: Update Period auto to take retention into account (#37424) 2021-09-01 09:44:47 +02:00
elasticsearch SQL: Migrate to use SDK contracts (#36635) 2021-09-07 09:35:37 +02:00
graphite Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
influxdb SQL: Migrate to use SDK contracts (#36635) 2021-09-07 09:35:37 +02:00
interval old-alert: set interval and max-data-points (#38434) 2021-08-31 14:49:30 +02:00
intervalv2 SQL: Migrate to use SDK contracts (#36635) 2021-09-07 09:35:37 +02:00
loki SQL: Migrate to use SDK contracts (#36635) 2021-09-07 09:35:37 +02:00
mssql SQL: Migrate to use SDK contracts (#36635) 2021-09-07 09:35:37 +02:00
mysql SQL: Migrate to use SDK contracts (#36635) 2021-09-07 09:35:37 +02:00
opentsdb Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
postgres SQL: Migrate to use SDK contracts (#36635) 2021-09-07 09:35:37 +02:00
prometheus SQL: Migrate to use SDK contracts (#36635) 2021-09-07 09:35:37 +02:00
sqleng SQL: Migrate to use SDK contracts (#36635) 2021-09-07 09:35:37 +02:00
tempo Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
testdatasource Testdata: Fix proper initialization (#38576) 2021-08-26 11:39:04 +02:00
data_plugin_adapter.go Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
service_test.go Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
service.go SQL: Migrate to use SDK contracts (#36635) 2021-09-07 09:35:37 +02:00
time_range_test.go Chore: Enable whitespace linter (#25903) 2020-07-06 20:17:28 +02:00
time_range.go Introduce TSDB service (#31520) 2021-03-08 07:02:49 +01:00