FluxGlow

How do I show the status of a data pipeline or ETL job on a screen?

Make each step of the job a node, in the order they run, and rewrite the board file as each step starts and finishes. The data team can then see how far last night's load got without opening a log.

What it looks like

Extract and transform have finished. The load is running. The reports that depend on it have not started.

board.json
{
  "title": "Nightly load",
  "tag": "2026-11-11",
  "nodes": [
    { "id": "extract", "label": "Extract", "state": "ok", "value": "48.2k", "unit": "rows", "badge": "Done", "caption": "Finished", "since": "2026-11-11T16:26:00Z" },
    { "id": "transform", "label": "Transform", "state": "ok", "value": "48.0k", "unit": "rows", "badge": "Done", "caption": "Finished", "since": "2026-11-11T16:39:00Z", "after": ["extract"] },
    { "id": "load", "label": "Load", "state": "run", "badge": "Running", "after": ["transform"] },
    { "id": "reports", "label": "Reports", "state": "idle", "badge": "Waiting", "after": ["load"] }
  ]
}

What the states mean for a data job

StateFor a step
ok, greenFinished. The figure is how many rows it handled.
run, blueRunning now.
bad, redFailed. The badge carries the reason.
warn, amberFinished, but something is off: far fewer rows than usual, or rows rejected.
idle, greyWaiting for the steps before it.

A script that keeps the board in step

The three functions at the top stand in for your real work. Each returns a row count. The loop runs them in order and rewrites the board before and after each one.

data_pipeline.py
"""Runs the steps of a nightly load in order and keeps a FluxGlow board in step with them."""
import json
import os
from datetime import datetime, timezone


def extract():
    return 48210  # rows read; your real work goes here


def transform():
    return 47986


def load():
    return 47986


STEPS = [("extract", "Extract", extract), ("transform", "Transform", transform), ("load", "Load", load)]
nodes = {step_id: {"id": step_id, "label": label, "state": "idle"} for step_id, label, _ in STEPS}


def publish():
    now = datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ")
    ordered = list(nodes.values())
    for earlier, node in zip(ordered, ordered[1:]):
        node["after"] = [earlier["id"]]
    with open("board.json.tmp", "w") as f:
        json.dump({"title": "Nightly load", "tag": now[:10], "nodes": ordered}, f, indent=2)
    os.replace("board.json.tmp", "board.json")
    # Copy board.json to wherever the board reads it from here.


for step_id, label, work in STEPS:
    node = nodes[step_id]
    node.update(state="run", badge="Running")
    publish()
    try:
        rows = work()
    except Exception as error:
        node.update(state="bad", badge=str(error)[:48] or "Failed")
        publish()
        raise
    finished = datetime.now(timezone.utc).strftime("%Y-%m-%dT%H:%M:%SZ")
    node.update(state="ok", value=f"{rows / 1000:.1f}k", unit="rows", badge="Done", caption="Finished", since=finished)
    publish()

When a step raises an error, its orb turns red with the start of the error message as its badge, the later steps stay grey, and the error is raised again so the job still fails as it should.

With a scheduler

If the steps are tasks in Airflow, Dagster, Prefect or cron, the same idea applies: something that can see every task's result writes the file. In Airflow, for example, that can be a last task whose trigger rule is all_done, which runs whether the tasks before it passed or failed.

The rule to keep is one writer for one file. Two tasks that each rewrite the board will overwrite one another.

Many jobs, not one pipeline

For a wall of separate jobs, such as backups, imports and reports, leave out after and give each job one node. Set since to when it last finished, with a caption of "Last ran". The board then shows "Last ran 6 hours ago" for each and keeps counting.

A job that has not run at all is the hard case, because nothing is there to report it. Have the script that writes the board mark any job whose last run is older than its schedule allows as bad.

Catching the bad run that succeeded

Jobs that finish without an error and load nothing are the ones that hurt. The script decides the state, so it can compare today's count with a floor you choose and write warn when the count falls below it. FluxGlow will not make that judgement for you.

All questions