{% extends main.html %}
{% block content %}
{% set ts = tasks[Task] %}
Task: {{ ts.key }}
Status |
{{ ts.state }} |
{% if ts.processing_on %}
Processing on |
{{ts.processing_on.address}} |
Call stack |
Call Stack |
{% end %}
{% if ts.type %}
Type |
{{ ts.type }} |
{% end %}
{% if ts.nbytes %}
Bytes |
{{ format_bytes(ts.nbytes) }} |
{% end %}
{% if ts.state == 'waiting' %}
{% for dts in ts.waiting_on %}
waiting on |
{{dts.key}} |
{% end %}
{% end %}
Priority |
{{ts.priority}} |
{% for attr in ['has_lost_dependencies', 'host_restrictions', 'worker_restrictions', 'resource_restrictions', 'loose_restrictions', 'suspicious', 'retries', 'metadata'] %}
{% if getattr(ts, attr) %}
{{attr.replace('_', ' ').title()}} |
{{getattr(ts, attr)}} |
{% end %}
{% end %}
{% if ts.exception_text and ts.traceback_text %}
Exception information
Exception:
{{ ts.exception_text }}
Traceback
{{ ts.traceback_text }}
{% end %}
Dependencies
Key |
State |
{% for dts in ts.dependencies %}
{{dts.key}} |
{{ dts.state }} |
{% end %}
Dependents
Key |
State |
{% for dts in ts.dependents %}
{{dts.key}} |
{{ dts.state }} |
{% end %}
{% if ts.state == 'memory' %}
Workers with data
{% set worker_list = ts.who_has %}
{% include "worker-table.html" %}
{% end %}
{% if ts.who_wants %}
{% end %}
Transition Log
Time |
Key |
Start |
Finish |
Stimulus ID |
Recommended Key |
Recommended Action |
{% for key, start, finish, recommendations, stimulus_id, transition_time in scheduler.story(Task) %}
{{ fromtimestamp(transition_time) }} |
{{key}} |
{{ start }} |
{{ finish }} |
{{ stimulus_id }} |
|
|
{% for key2, rec in recommendations.items() %}
|
|
|
|
|
{{key2}} |
{{ rec }} |
{% end %}
{% end %}
{% end %}