{% macro print_values(values) %} {% for k, v in values.iteritems() %} {{ k | e }}: {{ v | e }} {% endfor %} {% endmacro %}
State machine overview: {{ print_values(state_count) }}
ID | state | runtime | key | value |
---|---|---|---|---|
{{ w['thread_id'] }} | {{ w['state'] }} | {%- if w['state'] == 'running' -%} {{ '%d' % (now - w['started_at']) }}s {%- endif -%} | {{ w['key'] | e }} |
{{ print_values(w.get('value', {})) }}
{% if w.get('progress') %}
{{ w['progress'] | e }} {% endif %} |
ID | state | # |
---|---|---|
{{ work.key }} | {{ work.state }} |