mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
[elasticsearch] Add option for result set size in raw_dcument
it allows to specify the result set size in raw_document. Example: table panel could show more (or less) than 500 line if needed. Added test to spec
This commit is contained in:
@@ -103,6 +103,8 @@ function (angular, _, queryDef) {
|
||||
break;
|
||||
}
|
||||
case 'raw_document': {
|
||||
$scope.agg.settings.size = $scope.agg.settings.size || 500;
|
||||
$scope.settingsLinkText = 'Size: ' + $scope.agg.settings.size ;
|
||||
$scope.target.metrics = [$scope.agg];
|
||||
$scope.target.bucketAggs = [];
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user