mirror of
https://github.com/grafana/grafana.git
synced 2025-02-10 23:55:47 -06:00
Merge pull request #283 from ragzilla/master
use influxdb aliases to distinguish between multiple columns
This commit is contained in:
commit
24ea23ce83
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user