Commit 7dea0dcf by Torkel Ödegaard

Merge pull request #616 from guequierre/master

'list series' instead of 'select * from /.*/ limit 1'
parents 7b47f409 ab11604b
...@@ -126,7 +126,7 @@ function (angular, _, kbn, InfluxSeries) { ...@@ -126,7 +126,7 @@ function (angular, _, kbn, InfluxSeries) {
}; };
InfluxDatasource.prototype.listSeries = function() { InfluxDatasource.prototype.listSeries = function() {
return this.doInfluxRequest('select * from /.*/ limit 1').then(function(data) { return this.doInfluxRequest('list series').then(function(data) {
return _.map(data, function(series) { return _.map(data, function(series) {
return series.name; return series.name;
}); });
......
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