We’re running grafana with the hosted/paid version of influx. Have the time, I get this weird error when I post a query:
“internal error: panic: arrow/array: index out of range”
The strnge this is that it happens inconsistently. I hit refresh on the same query and it will work just fine. The same query will only work one our of three times. Has anyone seen this before?
It’s a little frustrating since we’ve never had this issue when hosting our own influx server. This happened when we switched to the hosted version.
not an InfluxDB2 user myself (yet), but I’ll try the following.
In recent versions of grafana you can look at the query itself by using the
Inspect -> Query from the visual itself.
From there you can copy the query and see if there is something strange there (but that probably will be fine), you can then copy it out and run it yourself (from Chronograf, CLI or whatever you have available) to see if that changes something or if you still get the panic error consistently.
This should allow you to understand if the problem is on InfluxDB2 itself or the Grafana datasource, you might also have a look at the InfluxDB logs and look for errors as you may find something more detailed there.
If you discover something more (enough to replicate it consistently) I suggest you to open an issue on GitHub, as “panics” are usually something that has to be managed