              <div class="tab-content" id="metricsTabContent">
                                    {% set first_tab = true %}
                                    {% if server_status.metric_categories is defined %}
                                        {% for category_key, category in server_status.metric_categories %}
                                            {% if category.metrics|length > 0 %}
                                                <div class="tab-pane fade {% if first_tab %}show active{% end