-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Database Panics when loading particular Grafana dashboard #20308
Labels
Comments
Grafana Dashboard
|
does running this query inside the native UI also cause a panic?
|
This might be influxdata/flux#3374 |
I was able to reproduce this against 2.0.2 using the following (adjusted) query from the dashboard:
Will check if it's still failing on master. |
The weird thing for me was that I tried all of these queries in the Influx UI and they functioned correctly. Glad that you all got a repro case. I was at a loss on how to reduce this to a test case.
- Kevin Decker
kpdecker@gmail.com
…On Thu, Dec 10 2020 at 2:17 PM, Daniel Moran < ***@***.*** > wrote:
I was able to reproduce this against 2.0.2 using the following (adjusted)
query from the dashboard:
filterVariable = (field, variable) =>
if variable == "*" then true
else field == variable
from(bucket: "telegraf/autogen")
|>
range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> filter(fn: (r)
=> r["_measurement"] == "cpu" and filterVariable(field: r.nomad.job,
variable: "*") and filterVariable(field: r.host, variable: "*"))
|>
group(columns: ["host", "nomad.job", "messagetype"])
|>
aggregateWindow(every: v.windowPeriod, fn: max, createEmpty: false)
|>
yield(name: "max")
Will check if it's still failing on master.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub (
#20308 (comment)
) , or unsubscribe (
https://github.com/notifications/unsubscribe-auth/AABP6JTY6FFKCXBF2ZWUVPDSUEUE5ANCNFSM4UVOXSYA
).
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce:
Unclear what preconditions existed to get here, but loading the attached Grafana dashboard would cause Influx to panic consistently.
Expected behavior:
Error is returned to requestor with clear information on how to resolve.
Actual behavior:
Database panics and terminates
Environment info:
Docker version 19.03.14, build 5eb3275d40
Nomad running docker image
cpu = 100
memory = 4096
Config:
The text was updated successfully, but these errors were encountered: