mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
updating the limit of returned tagvs in a MetricKeyLookup since opentsdb supports limit in 2.1.0
This commit is contained in:
parent
9a142cea7a
commit
46c0215b1f
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user