Visitar URL original
Distill

Apache Flagon Distill is a Python behavioral analytics framework for segmenting, modeling, and visualizing UserALE telemetry. Distill ingests UserALE flat JSON, Protobuf v1 LogBatch JSON, and OpenTelemetry OTLP/JSON payloads—giving data scientists and product engineers built-in algorithms for session segmentation, frustration detection (rage clicks, dead clicks, cursor thrashing), spatial & viewport engagement heatmaps, and clickstream graph modeling (Markov transition matrices, Sankey diagrams, and conversion funnels).

Features

Multi-Format Ingestion & Validation

Normalize and validate UserALE flat JSON, Protobuf v1 LogBatch JSON, and OpenTelemetry OTLP/JSON payloads with Pydantic v2 schemas.

Session & Window Segmentation

Slice event streams into fixed-time, collapsing-window, deadspace, and set-logic segments with session summaries.

Frustration & Spatial Analytics

Detect rage clicks, dead clicks, and cursor thrashing, compute composite frustration scores, and build click/scroll heatmaps.

Clickstream Graphs & Funnels

Build weighted NetworkX directed graphs, first-order Markov transition matrices, interactive Plotly Sankey diagrams, and funnels.