{% 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 %}| 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 %} |
| Machine | Queued | Executions | Held | Oldest waiting | Live 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 %} |
Nothing queued.
{% endif %}| Worker | Machines | Started | Last seen | |
|---|---|---|---|---|
| {{ w.worker_id }} | {{ w.machines }} | {{ w.started }} | {{ w.seen_ago }} ago | {% if w.alive %}alive {% else %}gone {% if w.forget_url %} {% endif %} {% endif %} |
No worker has recorded a heartbeat.
{% endif %} {% endblock %}