Influx: Support PDC for Influx SQL (#103032)

* Support PDC for Influx SQL

* Correctly set the gRPC transport creds dial option

* Logging and refactor

* Allow URLs with no scheme

* Use passthrough resolver for socks proxy

* Update comment

* Extract url parsing and add test

* Check err
This commit is contained in:
Andreas Christou
2025-04-02 16:21:59 +01:00
committed by GitHub
parent 4f19995bef
commit 47ec51fda7
5 changed files with 138 additions and 18 deletions
@@ -3,6 +3,8 @@ package models
import (
"net/http"
"time"
"github.com/grafana/grafana-plugin-sdk-go/backend/proxy"
)
type DatasourceInfo struct {
@@ -22,4 +24,6 @@ type DatasourceInfo struct {
// FlightSQL grpc connection
InsecureGrpc bool `json:"insecureGrpc"`
ProxyClient proxy.Client
}