InfluxDB: Fix sending retention policy with the backend request (#72763)

* Add retention policy to the request

* refactor

* refactor influxql query flow

* fix healthcheck

* organize imports

* handle queries separately

* fix tests

* update bench test
This commit is contained in:
ismail simsek
2023-08-30 12:42:02 +02:00
committed by GitHub
parent dc26cdf6c9
commit 29ea0886e3
16 changed files with 317 additions and 408 deletions
-2
View File
@@ -113,8 +113,6 @@ func (rt *RoundTripper) RoundTrip(req *http.Request) (*http.Response, error) {
func GetMockService(version string, rt RoundTripper) *Service {
return &Service{
queryParser: &InfluxdbQueryParser{},
responseParser: &ResponseParser{},
im: &fakeInstance{
version: version,
fakeRoundTripper: rt,