Schema.measurements does not return all measurements in grafana

  • What Grafana version and what operating system are you using?
    Grafana v10.2.1 (533a733e4eda44041e43358c5a51203e9b42c9ea)

  • What are you trying to achieve?
    In a dashboard variable want to query the measurements in a bucket and filter them with a regex.

  • How are you trying to achieve it?
    In the variable of a dashobard I have entered

import "influxdata/influxdb/schema"
schema.measurements (
    bucket: "openhab"

and in the regex for that variable I entered


  • What happened?
    Not all measurements in the openhab bucket are returned. There are about 2034 measurements in that bucket.

  • What did you expect to happen?
    That all measurements were returned and I could filter them all using a regex

  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    No errors in the Grafana UI. The log file shows no errors

  • Did you follow any online instructions? If so, what is the URL?
    Explore your data schema with Flux | InfluxDB OSS v2 Documentation

Grafana has a limit of 1000 items for the variable, regardless of the data source.

See Variable: Return more than 1000 results · Issue #59959 · grafana/grafana · GitHub