Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable Template Query Tag Values does not work for each bucket #17606

Closed
cmd-influx opened this issue Apr 3, 2020 · 3 comments · Fixed by #17609 or #17617
Closed

Variable Template Query Tag Values does not work for each bucket #17606

cmd-influx opened this issue Apr 3, 2020 · 3 comments · Fixed by #17609 or #17617

Comments

@cmd-influx
Copy link
Contributor

Tools US 2.x Cluster
Dashboard Log File Studies V1.x - Shards

Variable shard defined as query:

import "influxdata/influxdb/v1"
v1.tagValues(bucket: v.bucket, tag: "shard_id")

The above sometimes works and sometimes does not based on the bucket. For the following bucket, I actually created a cell to show that the value appears valid.

https://influxdb.aws.influxdata.io/orgs/844910ece80be8bc/dashboards/0569ce471d8dd000?lower=2020-04-01T01%3A00%3A00.000Z&upper=2020-04-01T02%3A00%3A00.000Z

image

I have run through a few dozen buckets (log files from customers) and sometimes the drop down works for the variable, other times it fails. The l-creditkarma-apr bucket does not enable the drop down but the tag value list should just have the 10 numbers as shown above.

image

Ping me if you cannot repro the problem or if the bucket shown above is gone.

@ebb-tide
Copy link
Contributor

ebb-tide commented Apr 3, 2020

The shard variable is a query type variable that depends on another variable (v.bucket). This might indicate a bigger problem with variable dependencies

@ebb-tide
Copy link
Contributor

ebb-tide commented Apr 3, 2020

dupe of #17593

@drdelambre
Copy link
Contributor

while more stuff started showing up, this didn't get fixed in the tools cluster. Check out the buckets variable in the data explorer as an example, also.. the shard value dropdown isn't loading even though the v1.tagOutput For shard is showing up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants