{% extends "base.html" %} {% block title %}Execution | nlght Admin{% endblock %} {% block content %} {% set r = record %}
{{ r.execution_id }}
{% if r.parent_execution_id %}Child of {{ r.parent_execution_id }}. It received one share of that run's work.
{% endif %}| This execution | {{ r.status.value }} {% if state.detail %}: {{ state.detail }}{% endif %} |
|---|---|
| Correlation id | {{ r.trigger.context.correlation_id }} |
| Operation | {{ r.trigger.operation }} ({{ r.trigger.kind.value }} / {{ r.trigger.protocol.value }}) |
| Idempotency key | {{ r.idempotency_key }} |
| Attempts | {{ r.attempt_count }} of {{ r.max_attempts }} |
| Required capabilities | {% if r.required_capabilities %}{{ r.required_capabilities | join(', ') }}{% else %}any worker{% endif %} |
| Created | {{ r.created_at.strftime('%Y-%m-%d %H:%M:%S') }} |
| Started | {% if r.started_at %}{{ r.started_at.strftime('%Y-%m-%d %H:%M:%S') }}{% else %}not yet{% endif %} |
| Completed | {% if r.completed_at %}{{ r.completed_at.strftime('%Y-%m-%d %H:%M:%S') }}{% else %}N/A{% endif %} |
| Duration | {{ r | duration }}{% if fan_out %} for this execution, which ended after distributing the work{% endif %} |
| Run finished | {% if timing.running %}not yet: {{ fan_out.pending }} of {{ fan_out.total }} children still to finish {% else %}{{ timing.finished_at | at }} when the last child settled{% endif %} |
| Run duration | {{ timing.elapsed | span }} {% if timing.running %} and counting{% endif %} |
| Child time |
{{ timing.child_time | span }}
summed over all child executions so far
{% if timing.parallel_factor %}
about {{ '%.1f' | format(timing.parallel_factor) }}× the run's own duration: that is the work the pool did in parallel {% endif %} |
| Next attempt | {{ r.next_attempt_at.strftime('%Y-%m-%d %H:%M:%S') }} |
| Held by | {{ r.owner_worker_id }}{% if r.lease_expires_at %} (lease until {{ r.lease_expires_at.strftime('%H:%M:%S') }}){% endif %} |
{{ r.diagnostics | pretty_json }}
| # | Worker | Status | Started | Completed | Fencing |
|---|---|---|---|---|---|
| {{ attempt.attempt_number }} | {{ attempt.instance_name }} | {{ attempt.status }} | {% if attempt.started_at %}{{ attempt.started_at.strftime('%H:%M:%S') }}{% else %}N/A{% endif %} | {% if attempt.completed_at %}{{ attempt.completed_at.strftime('%H:%M:%S') }}{% else %}N/A{% endif %} | {{ attempt.fencing_token }} |
{{ attempt.diagnostics | pretty_json }} | |||||
This run fanned its work out across the worker pool and ended without waiting.
{{ fan_out.succeeded }} of {{ fan_out.total }} children have succeeded,
{{ fan_out.failed }} failed, {{ fan_out.cancelled }} cancelled, {{ fan_out.pending }} still in flight.
{% if fan_out.settled %}
Every child has settled. The logical run is finished.
{% else %}
The run is not finished: this execution succeeded by handing the work out, and the children below are what is still doing it.{% endif %}
| Correlation id | Status | Attempts | Duration | |
|---|---|---|---|---|
| {{ child.trigger.context.correlation_id }} | {{ child.status.value }} | {{ child.attempt_count }}{% if child.attempt_count > 1 %} retried{% endif %} | {{ child | duration }} | Open |
{{ r.trigger.payload | pretty_json }}
{{ r.result | pretty_json }}