Are you sure tags will work together with influxdb 2.0 flux queries?
I do not know what tags are and how to use them.
Even google did not really help.
Could you give me some hints to get started with tags so I can give it a try?
$tag_exampletag = replaced with the value of the exampletag tag. The syntax is $tag_yourTagName (must start with $tag_ ). To use your tag as an alias in the ALIAS BY field then the tag must be used to group by in the query.
You can also use [[tag_hostname]] pattern replacement syntax. For example, in the ALIAS BY field using this text Host: [[tag_hostname]] would substitute in the hostname tag value for each legend value and an example legend value would be: Host: server1 .