Telemetry event definitions and helpers for the Rendro render pipeline.
Event Naming
All events follow the pattern [:rendro, :pipeline, :stage_name] with
:telemetry.span/3 providing automatic start, stop, and exception
suffixes. A top-level [:rendro, :render] span wraps the full pipeline.
Metadata
Start events include:
%{render_id: String.t(), stage: atom(), document_type: atom(), deterministic: boolean()}Stop events add:
%{duration: integer(), status: :ok | :error, page_count: non_neg_integer(), byte_size: non_neg_integer()}Exception events add:
%{kind: atom(), reason: term(), stacktrace: list()}