Files
impala/www/jvm-threadz.tmpl
skatiyal fae38aa77d IMPALA-13866: Add the timestamp in /jvm-threadz page
Enhanced /jvm-threadz WebUI page to include a timestamp for every jstack capture,
It will help comparing multiple jstacks captured via WebUI.

Change-Id: Ic0cb95028e175328c94aa2ad9df1f841efcde948
Reviewed-on: http://gerrit.cloudera.org:8080/22877
Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
2025-05-15 17:58:58 +00:00

68 lines
1.8 KiB
Cheetah

<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
{{> www/common-header.tmpl }}
{{> www/threadz_tabs.tmpl }}
{{#overview}}
<h3>JVM Threads captured at {{timestamp}}</h3>
<h3>Total: {{thread_count}}, Daemon: {{daemon_count}}, Peak: {{peak_count}}</h3>
{{/overview}}
<table id="java-threads-tbl" class='table table-hover table-bordered'>
<thead>
<tr>
<th>Summary</th>
<th>CPU time (s)</th>
<th>User time (s)</th>
<th>Blocked time (ms)</th>
<th>Blocked times</th>
<th>Native</th>
</tr>
</thead>
<tbody>
{{#jvm-threads}}
<tr>
<td><span style="white-space: pre-wrap;">{{summary}}</span></td>
<td>{{cpu_time_sec}}</td>
<td>{{user_time_sec}}</td>
<td>{{blocked_time_ms}}</td>
<td>{{blocked_count}}</td>
<td>{{is_native}}</td>
</tr>
{{/jvm-threads}}
</tbody>
</table>
<script>
$(document).ready(() => {
$('#java-threads-tbl').DataTable({
"order": [[ 1, "asc" ]],
"pageLength": 100
});
});
</script>
<script>
$("#jvm-tab").addClass("active");
</script>
{{> www/common-footer.tmpl }}