Permalink
Browse files

Skip memcached bucket details

Since we don't catch and analyze memcached stats, it is no use
to show reports on memcached bucket
  • Loading branch information...
1 parent 736e2b1 commit 1ecd9a9fb1039c6ed1473eaead8ebf9224e8f1c2 @bcui6611 bcui6611 committed Oct 1, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 reports/template.tmpl
View
@@ -69,7 +69,11 @@
<tr>
<td><a href="#bucket_${bucket}">$bucket</a></td>
<td>$bucket_list[$bucket]["type"]</td>
+ #if $bucket_list[$bucket]["type"] == "memcached"
+ <td class="$bucket_status[0]">$bucket_status[1]</td>
+ #else
<td class="$bucket_status[0]"><a href="#${bucket_list[$bucket]["anchor"]}">$bucket_status[1]</a></td>
+ #end if
</tr>
#end for
</table>
@@ -125,6 +129,9 @@
<h3>Bucket metrics</h3>
#for $bucket in sorted($bucket_list.keys())
+ #if $bucket_list[$bucket]["type"] == "memcached"
+ #continue
+ #end if
#set $status = $bucket_list[$bucket]["status"]
<a name="bucket_${bucket}"/>
<p class="bucket">

0 comments on commit 1ecd9a9

Please sign in to comment.