Schema.measurements does not return all measurements in grafana

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

  • 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

/^(?!.*Raw_Operation_State).*Operation_State/

  • 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