-
What Grafana version and what operating system are you using?
Grafana v8.0.6 docker image. -
What are you trying to achieve?
I’d like a variable with 2000 options. -
How are you trying to achieve it?
In the variable query I have
import "influxdata/influxdb/v1"
v1.tagValues(
bucket: v.bucket,
tag: "my_tag",
predicate: (r) => true,
start: -1d
)
-
What happened?
Only 1001 options are available in the variable select box. -
What did you expect to happen?
My 2000 options to be available in the select box. -
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
In the browser network tag I got the error
A query returned too many datapoints and the results have been truncated at 1001 points to prevent memory issues. At the current graph size, Grafana can only draw 100.
- Did you follow any online instructions? If so, what is the URL?
https://localhost:3000/t/grafana-v7-4-3-variable-returned-too-many-points-in-a-series/44274/ but it only works for query in a panel, not in a variable.