{% extends "base.html" %} {% block content %} {# No ``x-init="init()"``: Alpine already calls a component's own ``init()`` when it initialises ``x-data``, so the attribute ran it a second time — two Chart instances fighting over each canvas ("Canvas is already in use", then a "Maximum call stack size exceeded" cascade) and two metrics websockets per page load. Guarded by tests/test_admin_asset_order.py. #}
Uptime
Connections
/
current / total opened
Wire requests
/s
Total commands
/s

Operations per second

{# Each canvas sits in a fixed-height, position:relative wrapper. The charts run with ``maintainAspectRatio: false``, which makes Chart.js size the canvas to its offset parent — with no wrapper it sized to the grid cell, whose height was in turn driven by the canvas, and the pair grew until the sparkline was a full-viewport vertical smear. The bare ``height="60"`` attribute below never applied: responsive mode overwrites it with an inline style on every resize. #}
Inserts /s
Queries /s
Updates /s
Deletes /s
{% endblock %}