{% extends "base.html" %} {% block title %}Dashboard — Drakkar Debug{% endblock %} {% set prom_icon %} {% endset %} {% block content %}

Dashboard

Uptime
{{ "%.0f"|format(uptime // 60) }}m {{ "%.0f"|format(uptime % 60) }}s
Partitions
{{ partition_count }}
Executor Pool
{{ pool_active }} / {{ pool_max }}
Total Events
{{ stats.total_events or 0 }}
Consumer Lag{% if prom.card_links.lag %}{{ prom_icon }}{% endif %}
{{ total_lag }}
Consumed{% if prom.card_links.consumed %}{{ prom_icon }}{% endif %}
{{ stats.consumed or 0 }}
Completed{% if prom.card_links.completed %}{{ prom_icon }}{% endif %}
{{ stats.completed or 0 }}
Failed{% if prom.card_links.failed %}{{ prom_icon }}{% endif %}
{{ stats.failed or 0 }}
Produced{% if prom.card_links.produced %}{{ prom_icon }}{% endif %}
{{ stats.produced or 0 }}

Assigned Partitions

{% for pid in partitions %}
P{{ pid }}
{% endfor %} {% if not partitions %}
No partitions assigned
{% endif %}
{% if prom.worker_links %}

Prometheus Metrics

{% for group in prom.worker_links %}
{{ group.category }}
{% endfor %}
{% if prom.cluster_links %}

Cluster-wide Metrics

{% endif %} {% endif %} {% if custom_links %}

Links

{% endif %} {% endblock %}