grafana/pkg/tsdb/influxdb
Joey Tawadrous 10232c7857
InfluxDB: backend migration (run query in explore) (#43352)
* InfluxDB backend migration

* Multiple queries and more

* Added types

* Updated preferredVisualisationType

* Updated model parser test to include limit,slimit,orderByTime

* Added test for building query with limit, slimit

* Added test for building query with limit, slimit, orderByTime and puts them in the correct order

* Add test: Influxdb response parser should parse two responses with different refIDs

* Moved methods to responds parser

* Add test to ensure ExecutedQueryString is populated

* Move functions out of response parser class

* Test for getSelectedParams

* Merge cases

* Change to const

* Test get table columns correctly

* Removed unecessary fields

* Test get table rows correctly

* Removed getSeries function

* Added test for preferredVisualisationType

* Added test for executedQueryString

* Modified response parser

* Removed test

* Improvements

* Tests

* Review changes

* Feature flag rename and code gen
2022-02-09 18:26:16 +00:00
..
flux InfluxDB: Flux: make $__interval and $__interval_ms work in alerting (#38889) 2021-09-27 12:03:04 +02:00
models Chore: Refactor influxdb to use SDK contracts (#36189) 2021-07-19 11:32:33 +02:00
influxdb_test.go Plugins: Core plugins register via backend factory provider (#43171) 2022-01-20 18:16:22 +01:00
influxdb.go InfluxDB: backend migration (run query in explore) (#43352) 2022-02-09 18:26:16 +00:00
model_parser_test.go InfluxDB: backend migration (run query in explore) (#43352) 2022-02-09 18:26:16 +00:00
model_parser.go InfluxDB: backend migration (run query in explore) (#43352) 2022-02-09 18:26:16 +00:00
models.go InfluxDB: backend migration (run query in explore) (#43352) 2022-02-09 18:26:16 +00:00
query_part_test.go Chore: Refactor influxdb to use SDK contracts (#36189) 2021-07-19 11:32:33 +02:00
query_part.go Chore: Refactor influxdb to use SDK contracts (#36189) 2021-07-19 11:32:33 +02:00
query_test.go InfluxDB: backend migration (run query in explore) (#43352) 2022-02-09 18:26:16 +00:00
query.go InfluxDB: backend migration (run query in explore) (#43352) 2022-02-09 18:26:16 +00:00
response_parser_test.go InfluxDB: backend migration (run query in explore) (#43352) 2022-02-09 18:26:16 +00:00
response_parser.go InfluxDB: backend migration (run query in explore) (#43352) 2022-02-09 18:26:16 +00:00