InfluxDB: SQL Support (#72167)

* Add influxdbSqlSupport feature toggle

* Add SQL option to the config page

* Add SQL backend

* Add metadata support in config page

* Implement unified querying

* Fix healthcheck query

* fsql tests

* secure grpc by default

* code cleanup

* Query handing for sql mode

* Implement a placeholder sql editor

* Fix query language dropdown

* go mod updates

* make lint-go

* more make lint-go

* remove unused runQuery

* switch statements with default case

* linting again
This commit is contained in:
ismail simsek
2023-08-02 18:27:43 +02:00
committed by GitHub
parent 3172715a02
commit 77e7ae2a1b
30 changed files with 1995 additions and 270 deletions
+8 -2
View File
@@ -6,8 +6,9 @@ import (
type DatasourceInfo struct {
HTTPClient *http.Client
Token string
URL string
Token string
URL string
DbName string `json:"dbName"`
Version string `json:"version"`
@@ -16,4 +17,9 @@ type DatasourceInfo struct {
DefaultBucket string `json:"defaultBucket"`
Organization string `json:"organization"`
MaxSeries int `json:"maxSeries"`
// Flight SQL metadata
Metadata []map[string]string `json:"metadata"`
// FlightSQL grpc connection
SecureGrpc bool `json:"secureGrpc"`
}