mixle.telemetry.dashboard module

Summaries and markdown rendering for telemetry streams.

dashboard() folds telemetry events into per-kind counts, choice distributions, cost/latency totals, and abstention rates. render_dashboard() renders the same summary as plain markdown. The implementation is a pure fold over Telemetry.events() and has no display dependencies.

dashboard(telemetry)[source]

Fold the telemetry stream into a receipt summary (see module docstring).

Parameters:

telemetry (Any)

Return type:

dict[str, Any]

render_dashboard(telemetry)[source]

The dashboard as plain markdown – printable in a terminal, embeddable in a report.

Parameters:

telemetry (Any)

Return type:

str