{% extends "base.html" %} {% block content %}

Worker Health

Shows which queues have active workers. ARQ reports one health-check per queue, not per worker process.

{% if worker_health %}
{% for wh in worker_health %} {% endfor %}
Queue Status Last Heartbeat
{{ wh.queue_name }} {% if wh.status == "ALIVE" %} ALIVE {% else %} NO WORKERS {% endif %} {% if wh.last_heartbeat %} {{ wh.last_heartbeat.strftime('%Y-%m-%d %H:%M:%S') }} {% else %} {% endif %}
{% else %}

No queues configured.

{% endif %}

Active Jobs

Jobs currently being executed by workers. This data is accurate — each active job has its own Redis key.

{% if active_jobs %}
{% for job in active_jobs %} {% endfor %}
Function Job ID Queue Running For
{{ job.function_name }} {{ job.job_id[:12] }}... {{ job.queue_name }} {% if job.running_for_seconds > 300 %} {{ "%.0f" | format(job.running_for_seconds) }}s !!! {% elif job.running_for_seconds > 60 %} {{ "%.0f" | format(job.running_for_seconds) }}s {% else %} {{ "%.1f" | format(job.running_for_seconds) }}s {% endif %}
{% else %}

No jobs currently executing.

{% endif %}
{% endblock %}