Thx. Will try this workaround but it seems quite clumsy when the goal is to query influxdb from a frontend like grafana (eg: display the number of known hosts) I guess having such a simple function available directly in InfluxQL would be helpful for all.
On Friday, July 8, 2016 at 3:42:35 PM UTC+2, Olivier Arsac wrote: > > I can list all values from a given tag: > show tag values from cpu with key = "host" > But how can I count the number of values? (here it would be the number of > hosts) > Thank you. > > -- Remember to include the InfluxDB version number with all issue reports --- You received this message because you are subscribed to the Google Groups "InfluxDB" 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/df0217c2-ecd4-4903-84ab-bcdc48777111%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
