Influx: Show all datapoints for dynamically windowed flux query (#30688)

This commit is contained in:
David 2021-01-28 11:36:17 +01:00 committed by GitHub
parent 4147c3b907
commit 1bdd3eb3dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ func executeQuery(ctx context.Context, query queryModel, runner queryRunner, max
glog.Warn("Flux query failed", "err", err, "query", flux)
dr.Error = err
} else {
dr = readDataFrames(tables, int(float64(query.MaxDataPoints)*1.5), maxSeries)
dr = readDataFrames(tables, int(float64(query.MaxDataPoints)*2), maxSeries)
}
// Make sure there is at least one frame