New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1.x] Flux Engine -- Query Controls #17212
Labels
1.x
area/configuration
area/flux
Issues related to the Flux query engine
kind/feature-request
pm/enterprise readiness
team/query
Milestone
Comments
timhallinflux
added
area/configuration
kind/feature-request
pm/enterprise readiness
area/flux
Issues related to the Flux query engine
1.x
team/query
labels
Mar 11, 2020
These are in OSS 2.x -- need config options for setting these in 1.x
|
lesam
added a commit
to lesam/influxdb
that referenced
this issue
Mar 30, 2021
Partial fix of influxdata#17212
lesam
added a commit
to lesam/influxdb
that referenced
this issue
Mar 30, 2021
Partial fix of influxdata#17212
4 tasks
lesam
added a commit
to lesam/influxdb
that referenced
this issue
Mar 30, 2021
Partial fix of influxdata#17212
lesam
added a commit
that referenced
this issue
Mar 30, 2021
* chore: pull in controller from 2.x * chore: fix up 2.x controller to work with 1.x * feat: Default query limits in flux code Partial fix of #17212 * chore: update changelog * chore: refactor to remove panic and reformat code
Here's the new stanza in the config:
|
Note that zeros mean unlimited - this is new behaviour in 1.x, in 2.x some of the limits are required and default pretty low. |
This was referenced Mar 30, 2021
Closed in PR 21108 |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
1.x
area/configuration
area/flux
Issues related to the Flux query engine
kind/feature-request
pm/enterprise readiness
team/query
With InfluxQL, we introduced a number of mechanisms to control queries over the course of the 1.x releases. These are documented here: https://docs.influxdata.com/influxdb/v1.7/troubleshooting/query_management
With the introduction of Flux into the 1.x release line as a parallel query engine, the question is whether similar controls need to exist for Flux.
It seems that the Flux engine can limit resource usage in a number of ways such as:
Proposal:
The request is to determine the appropriate interface and controls to expose to limit resource exhaustion by the Flux engine. Providing sufficient guardrails for InfluxDB admins to put in place which are similar in principle to the ones that exist for the InfluxQL engine.
It may be that the end user doesn't necessarily know why their query exhausted resources, but we should be able to log queries which exceed the defined limits. This allows for admins to review expensive queries with their users and potentially communicate them as issues for review (and optimization).
The text was updated successfully, but these errors were encountered: