{% extends "base.html" %} {% block title %}{{ hop.name }} - migkit{% endblock %} {% block main %} {% set api = "/api/v1/hops/" ~ (hop.name|urlencode) %}

{{ hop.name }} your role: {{ role }}

{{ card.route }}

{{ card.engine }} goal {{ card.goal }} {% if card.verdict %}last check: {{ card.verdict }}{% else %}not checked yet{% endif %}

What this hop does

{% if outcome.limits %}

Its limits

{% endif %}

How long it would take

{% if not outcome.databases %}

No plan has been made yet. {% if may.operator %}The plan asks the two servers and writes nothing to either:{% endif %}

{% endif %} {% for d in outcome.databases %}

{{ d.db }}

{% for p in d.phases %} {% endfor %}
PhaseAboutAt most (p90)Set byFrom
{{ p.name }} {% if p.never %}never{% elif p.p50 is none %}not estimated{% else %}{{ p.p50|took }}{% endif %} {% if p.p90 %}{{ p.p90|took }}{% else %}-{% endif %} {{ p.binds or "-" }}{{ p.truth or p.detail or "-" }}
All of it{{ d.p50|took }}{{ d.p90|took }}
{% if d.outage %}

The outage at the cutover: about {{ d.outage.p50|took }}{% if d.outage.p90 %}, at most {{ d.outage.p90|took }} (p90){% endif %}.

{% endif %} {% if d.limits %}

{{ d.limits }}

{% endif %} {% endfor %} {% if may.operator %}
{% endif %}

Now

{% if progress.verdict %}

{{ progress.verdict.status }} as of {{ progress.verdict.generated }} {% for k, v in progress.verdict.totals.items() if v %}{{ k }} {{ v }}{% endfor %}

{% if progress.verdict.why %}

{{ progress.verdict.why }}

{% endif %} {% if progress.verdict.findings %} {% endif %} {% else %}

No check has run yet.

{% endif %}
{% for d in progress.databases %} {% else %} {% endfor %}
DatabaseThe moveThe change tail
{{ d.db }} {% if d.move %}{{ d.move.rows_done|num }}{% if d.move.rows_total %} of {{ d.move.rows_total|num }}{% endif %} rows{% if d.move.done %}, done{% elif d.move.eta_copy %}, about {{ d.move.eta_copy|took }} left{% endif %}{% if d.move.binding %}; held by {{ d.move.binding }}{% endif %}{% else %}-{% endif %} {% if d.tail %}{% if d.tail.running %}{% if d.tail.paused %}held{% else %}running{% endif %}{% if d.tail.behind is not none %}, {{ d.tail.behind|took }} behind{% endif %}{% else %}stopped{% if d.tail.stopped %}: {{ d.tail.stopped }}{% endif %}{% endif %}{% else %}-{% endif %} {% if d.tail and d.tail.running and may.operator %} {% if d.tail.paused %} {% else %}{% endif %} {% endif %}
Nothing has moved yet.
The metrics ({{ progress.metrics|length }}) {% for m in progress.metrics %}{% endfor %}
MetricOfValue
{{ m.name }}{% for k, v in m.labels.items() %}{{ k }}={{ v }} {% endfor %}{{ m.value }}

Waiting for someone

Approvals

{% if not approvals %}

No step is waiting for approval.

{% endif %} {% if approvals and not counts %}

Approvals for this hop are signed with approvers' own keys; one given here would not count, as the hop's access names no approver.

{% endif %} {% for a in approvals %}

{{ a.step }}{% if a.db %} on {{ a.db }}{% endif %} {{ a.have|length }} of {{ a.need }}

Asked by {{ a.asked_by }}, standing until {{ a.expires|when }}.

{% if a.lets %}

Approving lets this happen: {{ a.lets }}.

{% endif %} {% if a.readiness %}{% if a.readiness.ready %}

Ready: nothing measured stands in the way{% if a.readiness.lag is not none %} (the tail is {{ "%.1f"|format(a.readiness.lag) }}s behind, bound {{ a.readiness.bound }}s){% endif %}.

{% else %}

Not ready: {{ a.readiness.blocks|join("; ") }}.{% if a.readiness.next %} Next: {{ a.readiness.next }}.{% endif %}

{% endif %}{% endif %} {% if a.detail %}
{{ a.detail|join("\n") }}
{% endif %} {% if a.have %}

Approved by {{ a.have|join(", ") }}.

{% endif %} {% if a.may %} {% else %}

{{ a.why_not }}.

{% endif %}
{% endfor %}

Changes on the source a faster way needs

{% if not offers.offered %}

No change on the source is offered.

{% endif %} {% for o in offers.offered %}

{{ o.said }} for {{ o["for"] }}

{{ o.lines|join("\n") }}
{% if may.operator %}

{% endif %}
{% endfor %} {% if offers.answers %}

Answered: {% for a in offers.answers %}{{ a.change }} {{ a.answer }} ({{ a.where }}){% if not loop.last %}; {% endif %}{% endfor %}.

{% endif %} {% if offers.handed %}

The DBA's to make

{% for h in offers.handed %}

{{ h.said }} - {{ h.why }}

{{ h.make|join("\n") }}
{% endfor %} {% endif %}

Runs

{% if may.operator %}
{% endif %} {% for r in runs %} {% else %} {% endfor %}
RunWhatByStateExit
{{ r.id }} {{ r.action }}{{ r.by }}{{ r.state }} {{ r.exit if r.exit is not none else "-" }}
No run started from here yet.

Evidence

The hop's record: {{ evidence.record.entries }} entries, {% if evidence.record.whole %}whole{% else %}broken: {{ evidence.record.broken }}{% endif %}

{% if not evidence.bundles %}

No evidence exported yet.{% if may.operator %} The evidence export is a run: "report" above.{% endif %}

{% endif %} {% for b in evidence.bundles %} {% endfor %}
BundleWrittenFiles
{{ b.run or "the whole history" }} {{ b.at|when }} {% for f in b.files %}{{ f }} {% endfor %}

Decision record

{% if decisions is none %}

Why each way was chosen is kept in the hop's decision record, shown here only when asked: read it, or turn it on for every hop on your account.

{% else %} {% for d in decisions %}

{{ d.work }}: {{ d.way }} - {{ d.reason }} {{ d.at }}

{% if d.passed %}{% endif %}
{% else %}

Nothing decided yet.

{% endfor %}

The whole record

{% endif %}

Configuration

The hop as its file says it, secrets hidden
{{ config.config|tojson(indent=2) }}
{% if config.left_out %}

{{ config.left_out }} more option{{ "s" if config.left_out > 1 }} in the file.

{% endif %}

What is wrong with it, if anything

Who is told what

Events: {{ notifications.events|join(", ") }}; a tail behind by more than {{ notifications.lag }} s is said.

{% if may.admin and notifications.receivers %}{% endif %}
{% endblock %}