Runs

{{ page_obj.paginator.count }}

Prefect flow runs

Deployments

{{ deployments|length }}

Tracked deployment records in Django

Prefect

{% if prefect.available %}

Connected

{{ prefect.prefect_api_url }}

{% if prefect_ui_base %}

View Deployments in Prefect

{% endif %} {% else %}

Unavailable

{{ prefect.error }}

{% endif %}

Run Health

{% for item in run_health_items %} {% if item.status == 'completed' %} {% elif item.status == 'failed' or item.status == 'cancelled' or item.status == 'crashed' %} {% elif item.status == 'running' or item.status == 'pending' %} {% else %} {% endif %} {% empty %} No run history yet. {% endfor %}

Latest Flow Runs

{% if runs %}
{% for run in runs %}
Run {{ run.id|slice:":8" }} {{ run.status_label }} {% if run.prefect_ui_url %} View in Prefect {% endif %}

{% if run.start_time %}Started {{ run.start_time }}{% endif %} {% if run.expected_start_time and not run.start_time %}Expected {{ run.expected_start_time }}{% endif %} {% if run.end_time %}· Ended {{ run.end_time }}{% endif %}

{% if run.name %}

{{ run.name }}

{% endif %}
{% endfor %}
{% else %}
No runs yet for this flow.
{% endif %} {% if page_obj.paginator.num_pages > 1 %}
Previous Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }} Next
{% endif %}

Deployments

{% if deployments %}
{% for deployment in deployments %}

{{ deployment.deployment_name }}

{{ deployment.get_deployment_type_display }} {% if deployment.trigger_node_id %}· trigger {{ deployment.trigger_node_id }}{% endif %} · {{ deployment.prefect_deployment_id }} {% if deployment.cron_expression %}· {{ deployment.cron_expression }}{% endif %}

{% if prefect_ui_base and deployment.prefect_deployment_id %} View in Prefect {% endif %} {{ deployment.get_sync_status_display }}
{% endfor %}
{% else %}
No deployment records tracked yet.
{% endif %}