2017-08-15 13:47:56 +00:00
|
|
|
{{template "header.html" . }}
|
2017-12-27 23:38:37 +00:00
|
|
|
<div class="colstack panel_stack">
|
2018-06-06 00:21:22 +00:00
|
|
|
{{template "panel_menu.html" . }}
|
2017-12-27 23:38:37 +00:00
|
|
|
<main id="panel_dashboard_right" class="colstack_right">
|
|
|
|
<div class="colstack_item colstack_head">
|
2018-07-03 10:01:49 +00:00
|
|
|
<div class="rowitem"><h1>{{lang "panel_debug_head"}}</h1></div>
|
2017-12-27 23:38:37 +00:00
|
|
|
</div>
|
|
|
|
<div id="panel_debug" class="colstack_grid">
|
2018-08-10 07:58:25 +00:00
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>{{lang "panel_debug_uptime_label"}}</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>{{lang "panel_debug_go_version_label"}}</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>{{lang "panel_debug_database_version_label"}}</span></div>
|
2018-04-22 12:33:56 +00:00
|
|
|
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Uptime}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.GoVersion}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.DBVersion}}</span></div>
|
|
|
|
|
|
|
|
|
2018-08-10 07:58:25 +00:00
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>{{lang "panel_debug_open_database_connections_label"}}</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>{{lang "panel_debug_adapter_label"}}</span></div>
|
2018-08-16 05:27:26 +00:00
|
|
|
{{/** TODO: Use this for active database connections when Go 1.11 lands **/}}
|
2018-08-10 07:58:25 +00:00
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>???</span></div>
|
2017-08-15 13:47:56 +00:00
|
|
|
|
2017-12-27 23:38:37 +00:00
|
|
|
<div class="grid_item grid_stat"><span>{{.OpenConns}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.DBAdapter}}</span></div>
|
2018-04-22 12:33:56 +00:00
|
|
|
<div class="grid_item grid_stat"><span>?</span></div>
|
2018-08-16 05:27:26 +00:00
|
|
|
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>{{lang "panel_debug_goroutine_count_label"}}</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>{{lang "panel_debug_cpu_count_label"}}</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>HeapAlloc</span></div>
|
|
|
|
|
|
|
|
<div class="grid_item grid_stat"><span>{{.Goroutines}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.CPUs}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.HeapAlloc}}</span></div>
|
|
|
|
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>HeapSys</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>HeapIdle</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>HeapObjects</span></div>
|
|
|
|
|
|
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.HeapSys}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.HeapIdle}}</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.HeapObjects}}</span></div>
|
|
|
|
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>???</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>???</span></div>
|
|
|
|
<div class="grid_item grid_stat grid_stat_head"><span>StackInuse</span></div>
|
|
|
|
|
|
|
|
<div class="grid_item grid_stat"><span>?</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>?</span></div>
|
|
|
|
<div class="grid_item grid_stat"><span>{{.MemStats.StackInuse}}</span></div>
|
2017-12-27 23:38:37 +00:00
|
|
|
</div>
|
|
|
|
</main>
|
2017-11-23 05:37:08 +00:00
|
|
|
</div>
|
2017-08-15 13:47:56 +00:00
|
|
|
{{template "footer.html" . }}
|