mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Lower increase of refresh to 50 rows, fix compact view message, closes #17
This commit is contained in:
parent
9f88b4db97
commit
1ba7ad066d
2 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@
|
|||
<div class="pull-left marvel-header marvel-table" ng-show="rows.length > 0">
|
||||
<input type="text" class="input-medium" placeholder="Filter {{panel.mode}}..." ng-model="panel.rowFilter"> <span class="count">{{(rows|filter:panel.rowFilter|limitTo:rowLimit).length}} of {{rows.length}} {{panel.mode}}</span> / {{(rows|filter:{'selected':true}).length}} selected / Last 10m </span>
|
||||
<br>
|
||||
<span class="small muted pull-right" ng-show="!viewSelect"> <i class="icon-warning"></i> Compact view. Filter nodes to 5 or less, or set the page refresh rate to 2m or greater for more options.</span>
|
||||
<span class="small muted pull-right" ng-show="!viewSelect"> <i class="icon-warning"></i> Compact view. Filter {{panel.mode}} to 5 or less, or set the page refresh rate to 2m or greater for more options.</span>
|
||||
</div>
|
||||
<div class="pull-right" ng-if="viewSelect">
|
||||
<a href="" ng-class="{strong:!panel.compact}" ng-click="panel.compact=false">Full</a> /
|
||||
|
|
|
@ -218,7 +218,7 @@ define([
|
|||
$scope.panel.compact = true;
|
||||
$scope.sparkLines = true;
|
||||
$scope.viewSelect = false;
|
||||
if(l > 100 && kbn.interval_to_seconds(dashboard.current.refresh || '1y') < 300) {
|
||||
if(l > 50 && kbn.interval_to_seconds(dashboard.current.refresh || '1y') < 120) {
|
||||
dashboard.set_interval('2m');
|
||||
alertSrv.set('Refresh rate',
|
||||
'Due to the large size of your cluster, the refresh rate has been adjusted to 2m',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue