Commit c97213f1 by Matt Addison

use influxdb aliases to distinguish between multiple columns in a single series

parent 8cba5940
...@@ -30,7 +30,7 @@ function (angular, _, kbn) { ...@@ -30,7 +30,7 @@ function (angular, _, kbn) {
return []; return [];
} }
var template = "select [[func]]([[column]]) from [[series]] where [[timeFilter]] group by time([[interval]]) order asc"; var template = "select [[func]]([[column]]) as [[column]]_[[func]] from [[series]] where [[timeFilter]] group by time([[interval]]) order asc";
var templateData = { var templateData = {
series: target.series, series: target.series,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment