chore(dashboard): drop the tabs on Server Health, Instance Load and Diagnostics

The three pages had in-page tabs linking to each other, the same links
as the Logs & Health sidebar group. Removed the tabs (health_tabs
template); each page is still in the sidebar. Diagnostics gets an
<h2> heading like the other two, since the tab was its only title. The
log pages had no tabs.

Check: Server Health, Instance Load and Diagnostics open from the
sidebar with no tab row; Diagnostics shows its heading; the range and
server controls still sit on the right.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-09-28 23:40:33 -05:00
parent 74056c9ade
commit 45473f4f72
5 changed files with 6 additions and 12 deletions

View File

@@ -26,11 +26,12 @@
{% endblock %}
{% block content %}
{% include "health_tabs.jinja2" %}
<div class="d-flex flex-wrap justify-content-between align-items-end gap-2 mb-3">
<p class="text-body-secondary mb-0 small">Packets and bytes every server sends and receives, and the HTTP requests of the dashboard and UGC server.
The last hour is kept at one second in memory; minutes are stored for <code>traffic_days</code>. Prometheus: <code>darkflame_net_*</code>, <code>darkflame_http_*</code>.</p>
<div>
<h2 class="mb-1">Diagnostics</h2>
<p class="text-body-secondary mb-0 small">Packets and bytes every server sends and receives, and the HTTP requests of the dashboard and UGC server.
The last hour is kept at one second in memory; minutes are stored for <code>traffic_days</code>. Prometheus: <code>darkflame_net_*</code>, <code>darkflame_http_*</code>.</p>
</div>
<div class="d-flex flex-wrap gap-2 align-items-center">
<select class="form-select form-select-sm w-auto" id="serverFilter" aria-label="Server"><option value="">All servers</option></select>
<div class="btn-group btn-group-sm text-nowrap" role="group" aria-label="Range">

View File

@@ -12,7 +12,6 @@
{% endblock %}
{% block content %}
{% include "health_tabs.jinja2" %}
<div class="d-flex flex-wrap justify-content-between align-items-end gap-3 mb-3">
<div>
<h2 class="mb-1">Server Health</h2>

View File

@@ -1,5 +0,0 @@
<ul class="nav nav-tabs mb-3">
<li class="nav-item"><a class="nav-link{% if current_page == "health" %} active" aria-current="page{% endif %}" href="/health">Server Health</a></li>
<li class="nav-item"><a class="nav-link{% if current_page == "instances" %} active" aria-current="page{% endif %}" href="/instances">Instance Load</a></li>
<li class="nav-item"><a class="nav-link{% if current_page == "diagnostics" %} active" aria-current="page{% endif %}" href="/diagnostics">Diagnostics</a></li>
</ul>

View File

@@ -13,7 +13,6 @@
{% endblock %}
{% block content %}
{% include "health_tabs.jinja2" %}
<div class="d-flex flex-wrap justify-content-between align-items-end gap-3 mb-3">
<div>
<h2 class="mb-1">Instance Load</h2>

View File

@@ -628,7 +628,7 @@ character selection aren't affected.
### Traffic diagnostics
**Diagnostics** (`health_view`, a tab next to Server Health and Instance Load) shows the load on every server: packets
**Diagnostics** (`health_view`, under Logs & Health in the sidebar) shows the load on every server: packets
and bytes in and out per second (all servers together, or one picked from the list or by clicking it), packets per
second of each server, HTTP requests per second of the dashboard and the UGC server with their errors, HTTP latency
(p50, p95 and p99 of the busiest web server), the busiest packet and game message types, and the HTTP routes with