{% macro print_values(values) %} {% for k, v in values.iteritems() %} {{ k | e }}: {{ v | e }} {% endfor %} {% endmacro %}

NoblogsMV {{ config['HOST_NAME'] }}:{{ config['HOST_PORT'] }}

State machine overview: {{ print_values(state_count) }}

{% for w in worker_info %} {% endfor %}
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 %}
{% for work in state %} {% endfor %}
ID state #
{{ work.key }} {{ work.state }}