I have been away from InfluxDB for a while, so I might well be wrong 
thinking this has changed, but I believe it's new that I can refer to a tag 
key in the query.

proc,host=ROB  cpu=10,mem=20
proc,host=JOHN cpu=20,mem=10

When I do a "SELECT * FROM proc" we get the columns cpu, mem and host. When 
I try to "SELECT host,cpu FROM proc" or "SELECT host FROM proc" I get a 
parsing error from InfluxDB.

As said, I believe this has changed. It would work when the response 
implicitly always returned the tag keys as well, but that might be overdone 
since you may not need them all. For example, I have been using redundant 
tag keys to let Grafana aggregate over different keys (e.g. by user, group 
or account code).

Rob 

-- 
Remember to include the version number!
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/df7cb471-de46-4849-b788-fb08010210fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to