mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Disable annotations and compact table with 10 or more indices
This commit is contained in:
parent
4c75eb49ef
commit
c0a8ed5612
3 changed files with 8 additions and 8 deletions
|
@ -69,7 +69,7 @@ var annotate_config;
|
|||
|
||||
if (marker_query) {
|
||||
annotate_config = {
|
||||
"enable": true,
|
||||
"enable": false,
|
||||
"query": "_type:shard_event AND (" + marker_query + ")",
|
||||
"size": 100,
|
||||
"field": "message",
|
||||
|
|
|
@ -144,7 +144,7 @@
|
|||
"title": "Document Count",
|
||||
"pointradius": 5,
|
||||
"annotate": {
|
||||
"enable": true,
|
||||
"enable": false,
|
||||
"query": "_type:cluster_event",
|
||||
"size": 100,
|
||||
"field": "message",
|
||||
|
@ -217,7 +217,7 @@
|
|||
"title": "Search request rate",
|
||||
"pointradius": 5,
|
||||
"annotate": {
|
||||
"enable": true,
|
||||
"enable": false,
|
||||
"query": "_type:cluster_event",
|
||||
"size": 100,
|
||||
"field": "message",
|
||||
|
@ -290,7 +290,7 @@
|
|||
"title": "Indexing request rate",
|
||||
"pointradius": 5,
|
||||
"annotate": {
|
||||
"enable": true,
|
||||
"enable": false,
|
||||
"query": "_type:cluster_event",
|
||||
"size": 100,
|
||||
"field": "message",
|
||||
|
|
|
@ -37,12 +37,12 @@
|
|||
<div class="pull-left marvel-header marvel-table" ng-show="rows.length > 0">
|
||||
<span class="count">{{rows.length}} {{panel.mode}}</span> / Last 10m </span>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<!--<div class="pull-right">
|
||||
<a href="" ng-class="{strong:!panel.compact}" ng-click="panel.compact=false">Full</a> /
|
||||
<a href="" ng-class="{strong:panel.compact}" ng-click="panel.compact=true">Compact</a>
|
||||
</div>
|
||||
</div>-->
|
||||
|
||||
<table bindonce class="table table-bordered" ng-if="!panel.compact">
|
||||
<table bindonce class="table table-bordered" ng-if="rows.length < 10">
|
||||
<thead>
|
||||
<th class="pointer" ng-click="set_sort('__name__')">
|
||||
{{panel.mode}}
|
||||
|
@ -80,7 +80,7 @@
|
|||
</tr>
|
||||
</table>
|
||||
|
||||
<table bindonce class="table table-bordered table-condensed marvel-table" ng-if="panel.compact">
|
||||
<table bindonce class="table table-bordered table-condensed marvel-table" ng-if="rows.length >= 10">
|
||||
<thead>
|
||||
<th class="pointer" ng-click="set_sort('__name__')">
|
||||
{{panel.mode}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue