Having more than 1001 options in a board variable

  • 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.

Hi @verdieg

Interesting idea. I think you should start a discussion around a feature request over in the repo.

This topic was automatically closed after 365 days. New replies are no longer allowed.