Handle "partial": true
Hi!
Just noticed something when browsing back through the weekend graphs.
My dashboard is missing a lot of hosts when I choose "last 6 hours" or longer. But it seems to work in the CLI and also the "pre-canned" system dashboard seems to work with older data.
If I edit the cell, it looks like this (only one host has any data):

If I run the same query in the CLI (lots of data from many hosts):

@hasselrot what version of chronograf and infuxd are you using.
@nhaugo I have the same issue on Chronograf beta10. And influx is version 1.2.2.
Its clear now that the graph only shows the first host in the list, when I view more than 6 hours.
15minutes:

12hours:

@hasselrot thanks for writing in! I believe @lukevmorris and I found the crux of the biscuit. More info coming momentarily.
Heya @hasselrot! Thanks again for submitting this issue -- it was a fun one to track down. We tried reproducing this issue with a similar query:
SELECT "usage_user" FROM "telegraf"."autogen"."cpu" WHERE time > now() - 15m GROUP BY "host"
We ran this query at multiple time ranges, and it appears that we're truncating data somewhere between the Chronograf server and the InfluxDB client. We've found the following behavior:
- Submitting the query with any time range via the InfluxDB CLI returns the full data set, with series for all hosts.
- Submitting the query via the Chronograf UI with a narrow time range also returns the full data set, with series for all hosts.
- Widening the time range from 15m to 1d returns series for 2 hosts, with the third one missing
- Widening the time range from 1d to 2d returns only a single series, with two hosts missing.
Here's a dashboard that we hope illustrates the issue:

The top three graphs have progressively widening time ranges, and you'll note that the third host (in green) is progressively truncated. Looking at each of these It might seem that the truncation would be due to there being no data present for host 3. However, as illustrated in the bottom right of the dashboard, host 3 has data throughout the widest (20h) time range.
We also suspected that we might be parsing the response incorrectly in certain cases. But as the time range increases, we definitely receive back fewer and fewer series.:
Over 15m, we see 3 series returned:

Over 2d, we see 1 series returned:

@goller any ideas?
@lukevmorris would you attach the server's debug logs to this issue? I'd like to see if there are any differences in the query.
@hasselrot It looks like this is the max-row-limit issue that showed up in Influx 1.2
https://github.com/influxdata/influxdb/pull/8050 https://github.com/influxdata/influxdb/pull/8133 https://github.com/grafana/grafana/issues/7380
@rkuchan has docs here: https://docs.influxdata.com/enterprise/v1.2/troubleshooting/frequently_asked_questions/#why-are-my-grafana-panels-returning-truncated-partial-data
about how to fix it... the bottom line is to update the influxdb configuration like this:
To prevent that issue, set max-row-limit to 0 to allow an unlimited number of returned rows.
In the future we should support the "partial": true return or inform people that their data is truncated.
I'm going to update the name of this issue to Handle "partial": true influx responses.
I think this is resolved by @goller comment