From 46c0215b1f79f73a239d57e45a2cbbe246465f66 Mon Sep 17 00:00:00 2001 From: robbie Date: Tue, 25 Aug 2015 12:46:54 -0700 Subject: [PATCH] updating the limit of returned tagvs in a MetricKeyLookup since opentsdb supports limit in 2.1.0 --- public/app/plugins/datasource/opentsdb/datasource.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/plugins/datasource/opentsdb/datasource.js b/public/app/plugins/datasource/opentsdb/datasource.js index 64f6afcdb62..e91fa4b8ac7 100644 --- a/public/app/plugins/datasource/opentsdb/datasource.js +++ b/public/app/plugins/datasource/opentsdb/datasource.js @@ -106,7 +106,7 @@ function (angular, _, kbn) { OpenTSDBDatasource.prototype._performMetricKeyLookup = function(metric) { 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; var tagks = []; _.each(result, function(r) {