juturna.telemetry.browser package

Module contents

class juturna.telemetry.browser.BrowserTelemetry(ctx: TelemetryContext, max_records: int = 10000, post: Callable[[dict], None] | None = None)

Bases: MemoryTelemetry

Keep the latest records and post each batch to the page

record_telemetry(record_batch: list[tuple])

Store a batch and post it to the page

requires: ClassVar[frozenset[str]] = frozenset({'page_channel'})