{% extends "admin/base_site.html" %} {% load i18n admin_urls %} {% block breadcrumbs %} {% endblock %} {% block content %} {% if not rows %}

No machine in DJANGO_HAREL['MACHINES'].

{% endif %} {% for row in rows %}

{{ row.definition_id }} v{{ row.version }} · ({{ row.total }})

By status Failed Queue Timers
{% for c in row.counts %} {% if c.url %}{{ c.status }}: {{ c.count }}{% else %}{{ c.status }}: {{ c.count }}{% endif %}{% if not forloop.last %}, {% endif %} {% endfor %} {% if row.failed_links %} {% for link in row.failed_links %}{{ link }}{% if not forloop.last %}, {% endif %}{% endfor %} {% if row.failed_more %}… and {{ row.failed_more }} more{% endif %} {% else %} — {% endif %} {% if row.queued %} {{ row.queued }} queued{% if row.oldest_queued_age %}, oldest waiting {{ row.oldest_queued_age }}{% endif %} {% else %} — empty {% endif %} {% if row.overdue_timers %} {{ row.overdue_timers }} overdue — is a worker running? {% else %} none overdue {% endif %}
{% endfor %}

Queues

{% if queues %} {% for q in queues %} {% endfor %}
MachineQueuedExecutionsHeldOldest waitingLive workers
{{ q.machine }} {{ q.messages }} {{ q.executions }} {{ q.held }} {% if q.oldest_age %}{{ q.oldest_age }}{% else %}—{% endif %} {% if q.unserved %}none claims it — is a worker running? {% elif q.workers %}{{ q.workers|join:", " }} {% else %}—{% endif %}
{% else %}

Nothing queued.

{% endif %}

Workers

{% if workers %} {% for w in workers %} {% endfor %}
WorkerMachinesStartedLast seen
{{ w.worker_id }} {{ w.machines }} {{ w.started }} {{ w.seen_ago }} ago {% if w.alive %}alive {% else %}gone {% if w.forget_url %}
{% csrf_token %}
{% endif %} {% endif %}
{% else %}

No worker has recorded a heartbeat.

{% endif %} {% endblock %}