Skip to content

Commit

Permalink
Added hints for helping user understand metrics meaning
Browse files Browse the repository at this point in the history
  • Loading branch information
eplanet committed Feb 23, 2017
1 parent e96d1e6 commit 60da7e0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/views/broker/brokerViewContent.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<th>Total Partitions</th>
<th>Partitions on Broker</th>
<th>Partitions</th>
<th>Skewed?</th>
<th><span title="Broker has more partitions than the average">Skewed?</span></th>
</tr>
</thead>
<tbody>
Expand Down
6 changes: 3 additions & 3 deletions app/views/topic/topicListContent.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
<tr><th>Topic</th>
<th># Partitions</th>
<th># Brokers</th>
<th>Brokers Spread %</th>
<th>Brokers Skew %</th>
<th><span title="Percentage of cluster brokers having partitions from the topic">Brokers Spread %</span></th>
<th><span title="Percentage of brokers having more partitions than the average">Brokers Skew %</span></th>
<th># Replicas</th>
<th>Under Replicated %</th>
<th><span title="Percentage of partitions having a missing replica">Under Replicated %</span></th>
@if(displayTopicSize){
<th>Leader Size</th>
}
Expand Down
12 changes: 6 additions & 6 deletions app/views/topic/topicViewContent.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<td>@topicIdentity.partitions</td>
</tr>
<tr>
<td>Sum of partition offsets</td>
<td><span title="Represents the theoretical size of the topic">Sum of partition offsets</span></td>
<td>@topicIdentity.summedTopicOffsets</td>
</tr>
<tr>
Expand All @@ -128,25 +128,25 @@
<td>@topicIdentity.topicBrokers</td>
</tr>
<tr>
<td>Preferred Replicas %</td>
<td><span title="Percentage of replicas leader being preferred (first in the list of replicas)">Preferred Replicas %</td>
<td class="@getPreferredReplicasLevel(topicIdentity.preferredReplicasPercentage)">
@topicIdentity.preferredReplicasPercentage
</td>
</tr>
<tr>
<td>Brokers Skewed %</td>
<td><span title="Percentage of brokers having more partitions than the average">Brokers Skewed %</span></td>
<td class="@getBrokersSkewedLevel(topicIdentity.brokersSkewPercentage)">
@topicIdentity.brokersSkewPercentage
</td>
</tr>
<tr>
<td>Brokers Spread %</td>
<td><span title="Percentage of cluster brokers having partitions from the topic">Brokers Spread %</span></td>
<td class="@getBrokersSpreadLevel(topicIdentity.brokersSpreadPercentage)">
@topicIdentity.brokersSpreadPercentage
</td>
</tr>
<tr>
<td>Under-replicated %</td>
<td><span title="Percentage of partitions having a missing replica">Under-replicated %</span></td>
<td class="@getUnderReplicatedLevel(topicIdentity.underReplicatedPercentage)">
@topicIdentity.underReplicatedPercentage
</td>
Expand Down Expand Up @@ -239,7 +239,7 @@
<div class="panel-heading"><h4>Partitions by Broker</h4></div>
<table class="table" style="table-layout: fixed; width: 100%">
<thead>
<tr><th>Broker</th><th># of Partitions</th><th>Partitions</th><th>Skewed?</th></tr>
<tr><th>Broker</th><th># of Partitions</th><th>Partitions</th><th><span title="Broker has more partitions than the average">Skewed?</span></th></tr>
</thead>
<tbody>
@for(btp <- topicIdentity.partitionsByBroker) {
Expand Down

0 comments on commit 60da7e0

Please sign in to comment.