CorpGlory / grafana-datasource-kit

Node.js library for running Grafana datasources on backend plus utils
MIT License
9 stars 3 forks source link

InfluxDB multiple metrics error #30

Open rozetko opened 6 years ago

rozetko commented 6 years ago

When you have mutiple metrics in one query, eg: SELECT derivative(mean("value"), 1s) FROM "interface_rx" WHERE ("instance" = 'eth0' AND "type" = 'if_octets') AND time >= now() - 24h GROUP BY time(2m);SELECT derivative(mean("value"), 1s) FROM "interface_tx" WHERE ("instance" = 'eth0' AND "type" = 'if_octets') AND time >= now() - 24h GROUP BY time(2m) You get an error Query <query> has multiple time clauses. Can't parse Though it is supported by InfluxDB itself

jonyrock commented 6 years ago

We might think about this as a new feature