Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use parenthesis to surround the selected tags for influxdb queries #9131
The generated queries when selecting multiple tags are incorrect. In
This is parsed as if it were:
But the intention is to write a query like this:
This change modifies the generated query so it surrounds a query with
This is currently not an issue because InfluxDB doesn't actually
The previously generated queries breaks with the current version of InfluxDB master as I'm writing this because of influxdata/influxdb#8712. We are considering it a regression so we'll be making sure that the previous improper behavior is restored so the types of queries generated by Grafana remain working (so this PR isn't technically needed for it to work), but I'm also going to try and have it send back a warning message that the query is improper.
Thanks. If you have any issues open for people seeing Grafana break with InfluxDB master, the issue linked above is the culprit.