gosora/templates/panel_debug.html

162 lines
9.3 KiB
HTML
Raw Normal View History

<div class="colstack_item colstack_head">
<div class="rowitem"><h1>{{lang "panel_debug_head"}}</h1></div>
</div>{{flush}}
2020-06-08 07:04:47 +00:00
<div id="panel_debug"class="colstack_grid">
{{template "panel_debug_stat_head.html" "panel_debug_uptime_label"}}
{{template "panel_debug_stat_head.html" "panel_debug_go_version_label"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_version_label"}}
{{template "panel_debug_stat.html" .Uptime}}
{{template "panel_debug_stat.html" .GoVersion}}
{{template "panel_debug_stat.html" .DBVersion}}
{{template "panel_debug_stat_head.html" "panel_debug_open_database_connections_label"}}
{{template "panel_debug_stat_head.html" "panel_debug_adapter_label"}}
{{/** TODO: Use this for active database connections when Go 1.11 lands **/}}
{{template "panel_debug_stat_head_q.html"}}
{{template "panel_debug_stat.html" .OpenConns}}
{{template "panel_debug_stat.html" .DBAdapter}}
{{template "panel_debug_stat_q.html"}}
{{template "panel_debug_stat_head.html" "panel_debug_goroutine_count_label"}}
{{template "panel_debug_stat_head.html" "panel_debug_cpu_count_label"}}
{{template "panel_debug_stat_head_q.html"}}
{{template "panel_debug_stat.html" .Goroutines}}
{{template "panel_debug_stat.html" .CPUs}}
{{template "panel_debug_stat_q.html"}}
</div>
initial perf anaytics add tasks to debug page ignore .git on debug page for speed add perfchunks table Renamed phrases (changed statistics to stats): panel_menu_stats panel_menu_stats_posts panel_menu_stats_topics panel_menu_stats_forums panel_menu_stats_routes panel_menu_stats_agents panel_menu_stats_systems panel_menu_stats_languages panel_menu_stats_referrers panel_menu_stats_memory panel_menu_stats_active_memory panel_menu_stats_perf panel_stats_views_head_suffix panel_stats_user_agents_head panel_stats_forums_head panel_stats_languages_head panel_stats_post_counts_head panel_stats_referrers_head panel_stats_routes_head panel_stats_operating_systems_head panel_stats_topic_counts_head panel_stats_requests_head panel_stats_memory_head panel_stats_active_memory_head panel_stats_spam_hide panel_stats_spam_show panel_stats_memory_type_total panel_stats_memory_type_stack panel_stats_memory_type_heap panel_stats_time_range_one_year panel_stats_time_range_three_months panel_stats_time_range_one_month panel_stats_time_range_one_week panel_stats_time_range_two_days panel_stats_time_range_one_day panel_stats_time_range_twelve_hours panel_stats_time_range_six_hours panel_stats_post_counts_chart_aria panel_stats_topic_counts_chart_aria panel_stats_requests_chart_aria panel_stats_memory_chart_aria panel_stats_details_head panel_stats_post_counts_table_aria panel_stats_topic_counts_table_aria panel_stats_route_views_table_aria panel_stats_requests_table_aria panel_stats_memory_table_aria panel_stats_views_suffix panel_stats_posts_suffix panel_stats_topics_suffix panel_stats_user_agents_no_user_agents panel_stats_forums_no_forums panel_stats_languages_no_languages panel_stats_post_counts_no_post_counts panel_stats_referrers_no_referrers panel_stats_routes_no_routes panel_stats_operating_systems_no_operating_systems panel_stats_memory_no_memory Added phrases: panel_debug_tasks panel_debug_tasks_half_second panel_debug_tasks_second panel_debug_tasks_fifteen_minute panel_debug_tasks_hour panel_debug_tasks_shutdown panel_stats_perf_head panel_stats_perf_low panel_stats_perf_high panel_stats_perf_avg You will need to run the updater / patcher for this commit.
2020-02-23 09:08:47 +00:00
{{template "panel_debug_subhead.html" "panel_debug_tasks"}}
2020-06-08 07:04:47 +00:00
<div id="panel_debug"class="colstack_grid">
initial perf anaytics add tasks to debug page ignore .git on debug page for speed add perfchunks table Renamed phrases (changed statistics to stats): panel_menu_stats panel_menu_stats_posts panel_menu_stats_topics panel_menu_stats_forums panel_menu_stats_routes panel_menu_stats_agents panel_menu_stats_systems panel_menu_stats_languages panel_menu_stats_referrers panel_menu_stats_memory panel_menu_stats_active_memory panel_menu_stats_perf panel_stats_views_head_suffix panel_stats_user_agents_head panel_stats_forums_head panel_stats_languages_head panel_stats_post_counts_head panel_stats_referrers_head panel_stats_routes_head panel_stats_operating_systems_head panel_stats_topic_counts_head panel_stats_requests_head panel_stats_memory_head panel_stats_active_memory_head panel_stats_spam_hide panel_stats_spam_show panel_stats_memory_type_total panel_stats_memory_type_stack panel_stats_memory_type_heap panel_stats_time_range_one_year panel_stats_time_range_three_months panel_stats_time_range_one_month panel_stats_time_range_one_week panel_stats_time_range_two_days panel_stats_time_range_one_day panel_stats_time_range_twelve_hours panel_stats_time_range_six_hours panel_stats_post_counts_chart_aria panel_stats_topic_counts_chart_aria panel_stats_requests_chart_aria panel_stats_memory_chart_aria panel_stats_details_head panel_stats_post_counts_table_aria panel_stats_topic_counts_table_aria panel_stats_route_views_table_aria panel_stats_requests_table_aria panel_stats_memory_table_aria panel_stats_views_suffix panel_stats_posts_suffix panel_stats_topics_suffix panel_stats_user_agents_no_user_agents panel_stats_forums_no_forums panel_stats_languages_no_languages panel_stats_post_counts_no_post_counts panel_stats_referrers_no_referrers panel_stats_routes_no_routes panel_stats_operating_systems_no_operating_systems panel_stats_memory_no_memory Added phrases: panel_debug_tasks panel_debug_tasks_half_second panel_debug_tasks_second panel_debug_tasks_fifteen_minute panel_debug_tasks_hour panel_debug_tasks_shutdown panel_stats_perf_head panel_stats_perf_low panel_stats_perf_high panel_stats_perf_avg You will need to run the updater / patcher for this commit.
2020-02-23 09:08:47 +00:00
{{template "panel_debug_stat_head.html" "panel_debug_tasks_half_second"}}
{{template "panel_debug_stat_head.html" "panel_debug_tasks_second"}}
{{template "panel_debug_stat_head.html" "panel_debug_tasks_fifteen_minute"}}
{{template "panel_debug_stat.html" .Tasks.HalfSecond}}
{{template "panel_debug_stat.html" .Tasks.Second}}
{{template "panel_debug_stat.html" .Tasks.FifteenMinute}}
{{template "panel_debug_stat_head.html" "panel_debug_tasks_hour"}}
{{template "panel_debug_stat_head.html" "panel_debug_tasks_shutdown"}}
{{template "panel_debug_stat_head_q.html"}}
{{template "panel_debug_stat.html" .Tasks.Hour}}
{{template "panel_debug_stat.html" .Tasks.Shutdown}}
{{template "panel_debug_stat_q.html"}}
</div>
{{template "panel_debug_subhead.html" "panel_debug_memory_stats"}}
2020-06-08 07:04:47 +00:00
<div id="panel_debug"class="colstack_grid">
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_sys"}}
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_heapsys"}}
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_heapalloc"}}
<div class="grid_item grid_stat"><span>{{.MemStats.Sys}} ({{bunit .MemStats.Sys}})</span></div>
<div class="grid_item grid_stat"><span>{{.MemStats.HeapSys}} ({{bunit .MemStats.HeapSys}})</span></div>
<div class="grid_item grid_stat"><span>{{.MemStats.HeapAlloc}} ({{bunit .MemStats.HeapAlloc}})</span></div>
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_heapidle"}}
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_heapobjects"}}
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_stackinuse"}}
<div class="grid_item grid_stat"><span>{{.MemStats.HeapIdle}} ({{bunit .MemStats.HeapIdle}})</span></div>
<div class="grid_item grid_stat"><span>{{.MemStats.HeapObjects}}</span></div>
<div class="grid_item grid_stat"><span>{{.MemStats.StackInuse}} ({{bunit .MemStats.StackInuse}})</span></div>
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_mspaninuse"}}
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_mcacheinuse"}}
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_mspansys"}}
<div class="grid_item grid_stat"><span>{{.MemStats.MSpanInuse}} ({{bunit .MemStats.MSpanInuse}})</span></div>
<div class="grid_item grid_stat"><span>{{.MemStats.MCacheInuse}} ({{bunit .MemStats.MCacheInuse}})</span></div>
<div class="grid_item grid_stat"><span>{{.MemStats.MSpanSys}} ({{bunit .MemStats.MSpanSys}})</span></div>
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_mcachesys"}}
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_gcsys"}}
{{template "panel_debug_stat_head.html" "panel_debug_memory_stats_othersys"}}
<div class="grid_item grid_stat"><span>{{.MemStats.MCacheSys}} ({{bunit .MemStats.MCacheSys}})</span></div>
<div class="grid_item grid_stat"><span>{{.MemStats.GCSys}} ({{bunit .MemStats.GCSys}})</span></div>
<div class="grid_item grid_stat"><span>{{.MemStats.OtherSys}} ({{bunit .MemStats.OtherSys}})</span></div>
</div>
{{template "panel_debug_subhead.html" "panel_debug_caches"}}
2020-06-08 07:04:47 +00:00
<div id="panel_debug"class="colstack_grid">
{{template "panel_debug_stat_head.html" "panel_debug_caches_topic"}}
{{template "panel_debug_stat_head.html" "panel_debug_caches_user"}}
{{template "panel_debug_stat_head.html" "panel_debug_caches_reply"}}
<div class="grid_item grid_stat"><span>{{.Cache.Topics}} / {{.Cache.TCap}}</span></div>
<div class="grid_item grid_stat"><span>{{.Cache.Users}} / {{.Cache.UCap}}</span></div>
<div class="grid_item grid_stat"><span>{{.Cache.Replies}} / {{.Cache.RCap}}</span></div>
{{template "panel_debug_stat_head.html" "panel_debug_caches_topic_list"}}
{{template "panel_debug_stat_head_q.html"}}
{{template "panel_debug_stat_head_q.html"}}
<div class="grid_item grid_stat"><span>{{if .Cache.TopicListThaw}}Thawed{{else}}Sleeping{{end}}</span></div>
{{template "panel_debug_stat_q.html"}}
{{template "panel_debug_stat_q.html"}}
</div>
{{template "panel_debug_subhead.html" "panel_debug_database"}}
2020-06-08 07:04:47 +00:00
<div id="panel_debug"class="colstack_grid">
{{template "panel_debug_stat_head.html" "panel_debug_database_topics"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_users"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_replies"}}
{{template "panel_debug_stat.html" .Database.Topics}}
{{template "panel_debug_stat.html" .Database.Users}}
{{template "panel_debug_stat.html" .Database.Replies}}
{{template "panel_debug_stat_head.html" "panel_debug_database_profile_replies"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_activity_stream"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_likes"}}
{{template "panel_debug_stat.html" .Database.ProfileReplies}}
{{template "panel_debug_stat.html" .Database.ActivityStream}}
{{template "panel_debug_stat.html" .Database.Likes}}
{{template "panel_debug_stat_head.html" "panel_debug_database_attachments"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_polls"}}
{{template "panel_debug_stat_head_q.html"}}
{{template "panel_debug_stat.html" .Database.Attachments}}
{{template "panel_debug_stat.html" .Database.Polls}}
{{template "panel_debug_stat_q.html"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_login_logs"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_reg_logs"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_mod_logs"}}
{{template "panel_debug_stat.html" .Database.LoginLogs}}
{{template "panel_debug_stat.html" .Database.RegLogs}}
{{template "panel_debug_stat.html" .Database.ModLogs}}
{{template "panel_debug_stat_head.html" "panel_debug_database_admin_logs"}}
{{template "panel_debug_stat_head_q.html"}}
{{template "panel_debug_stat_head_q.html"}}
{{template "panel_debug_stat.html" .Database.AdminLogs}}
{{template "panel_debug_stat_q.html"}}
{{template "panel_debug_stat_q.html"}}
2019-06-05 01:46:45 +00:00
{{template "panel_debug_stat_head.html" "panel_debug_database_views"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_views_agents"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_views_forums"}}
{{template "panel_debug_stat.html" .Database.Views}}
{{template "panel_debug_stat.html" .Database.ViewsAgents}}
{{template "panel_debug_stat.html" .Database.ViewsForums}}
2019-06-05 01:46:45 +00:00
{{template "panel_debug_stat_head.html" "panel_debug_database_views_langs"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_views_referrers"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_views_systems"}}
{{template "panel_debug_stat.html" .Database.ViewsLangs}}
{{template "panel_debug_stat.html" .Database.ViewsReferrers}}
{{template "panel_debug_stat.html" .Database.ViewsSystems}}
{{template "panel_debug_stat_head.html" "panel_debug_database_post_analytics"}}
{{template "panel_debug_stat_head.html" "panel_debug_database_topic_analytics"}}
{{template "panel_debug_stat_head_q.html"}}
{{template "panel_debug_stat.html" .Database.PostChunks}}
{{template "panel_debug_stat.html" .Database.TopicChunks}}
{{template "panel_debug_stat_q.html"}}
</div>
{{template "panel_debug_subhead.html" "panel_debug_disk"}}
2020-06-08 07:04:47 +00:00
<div id="panel_debug"class="colstack_grid">
{{template "panel_debug_stat_head.html" "panel_debug_disk_static_files"}}
{{template "panel_debug_stat_head.html" "panel_debug_disk_attachments"}}
{{template "panel_debug_stat_head.html" "panel_debug_disk_avatars"}}
<div class="grid_item grid_stat"><span>{{bunit .Disk.Static}}</span></div>
<div class="grid_item grid_stat"><span>{{bunit .Disk.Attachments}}</span></div>
<div class="grid_item grid_stat"><span>{{bunit .Disk.Avatars}}</span></div>
{{template "panel_debug_stat_head.html" "panel_debug_disk_log_files"}}
{{template "panel_debug_stat_head.html" "panel_debug_disk_backups"}}
{{template "panel_debug_stat_head.html" "panel_debug_disk_git"}}
<div class="grid_item grid_stat"><span>{{bunit .Disk.Logs}}</span></div>
<div class="grid_item grid_stat"><span>{{bunit .Disk.Backups}}</span></div>
<div class="grid_item grid_stat"><span>{{bunit .Disk.Git}}</span></div>
</div>{{flush}}