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

Quant-Sports Pollers

Real-time status of all data collection

Refresh Metrics Labs Docs
{% if pollers %}
{% for poller in pollers %}

{{ poller.poller_name }}

{% if poller.status == 'healthy' %} healthy {% elif poller.status == 'degraded' %} degraded {% elif poller.status == 'down' %} down {% else %} unknown {% endif %}
Last heartbeat
{{ poller.last_heartbeat or '—' }}
Last run
{{ poller.last_run_started_at or '—' }}
Run status
{% if poller.last_run_status == 'success' %} {{ poller.last_run_status }} {% elif poller.last_run_status == 'failed' %} {{ poller.last_run_status }} {% elif poller.last_run_status == 'running' %} {{ poller.last_run_status }} {% else %} {{ poller.last_run_status or '—' }} {% endif %}
Rows written
{{ poller.last_run_rows if poller.last_run_rows is not none else '—' }}
{% if poller.consecutive_failures %}
Failures
{{ poller.consecutive_failures }}
{% endif %} {% if poller.last_run_error %}
Last error
{{ poller.last_run_error }}
{% endif %}
{% endfor %}
{% else %}

No pollers found.

Poller health data will appear here once collectors are registered.

{% endif %} {% endblock %}