the bucket exists, the dashboard variable named “bucket” has a query “buckets()”, in the variable editing page are buckets listed under “Preview ov values”, and also in the “bucket” dropdown in the dashboard.
my query also works for sure, if I set it’s name literally, like from(bucket: "telegraf") or from(bucket: "existing-bucket"),
but I need a variable on the place, like from(bucket: "${myselectedbucketnamevariable}), to switch between buckets on the same host. So is implemented our “multitenancy” there. But it doesn’t work because of the error mentioned above
Query inspector shows the query just right
UPDATE, grafana dashboard works only if I select “telegraf” bucket
Could it be because of rights of other buckets? Why they are listed then?
Actually the token of this datasource is administrator’s one, if noone played with my deployment
didn’t know about this variant ${bucket:doublequote}, but no, still the same error unless I select “telegraf” in the bucket variable dropdown, which is useless for my case
thanks, this is actually exactly what I did, but it didn’t work
The actual problem was, as I mentioned in my previous comment, some bug or token misconfiguration in the influxdb. I have just dropped this bucket and recreated it with the token I have again.