Commit 29c833d6 by Torkel Ödegaard

Merge pull request #2598 from robison/master

updating the limit of returned tagvs in a MetricKeyLookup
parents 9a142cea 46c0215b
...@@ -106,7 +106,7 @@ function (angular, _, kbn) { ...@@ -106,7 +106,7 @@ function (angular, _, kbn) {
OpenTSDBDatasource.prototype._performMetricKeyLookup = function(metric) { OpenTSDBDatasource.prototype._performMetricKeyLookup = function(metric) {
if(!metric) { return $q.when([]); } if(!metric) { return $q.when([]); }
return this._get('/api/search/lookup', {m: metric}).then(function(result) { return this._get('/api/search/lookup', {m: metric, limit: 1000}).then(function(result) {
result = result.data.results; result = result.data.results;
var tagks = []; var tagks = [];
_.each(result, function(r) { _.each(result, function(r) {
......
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