Commit 24ea23ce by Torkel Ödegaard

Merge pull request #283 from ragzilla/master

use influxdb aliases to distinguish between multiple columns
parents 5cb4cfcd 58a494f3
......@@ -30,7 +30,8 @@ function (angular, _, kbn) {
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 = {
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