About this project

nilalytics is a self-hosted product analytics solution that leverages OpenTelemetry (OTLP) to collect events, errors, and performance data from web (via Grafana Faro), mobile, and backend services. It eliminates the need for a traditional data warehouse and per-event fees by storing data in a DuckLake (Parquet files) on object storage such as S3, GCS, R2, Azure, or MinIO. Key capabilities include: - Sub-second reads using DuckDB's Quack protocol. - Optimized data partitioning (subject > date > person) for fast per-user activity lookups. - Event classification into categories like errors, activities, and ai_usage for efficient pruning. - Built-in support for funnels, retention, traces, metrics, and cross-device identity. - Data management features including inlining, compaction, and opt-in data retention policies. - A secure architecture featuring token-authenticated ingestion and a hardened public gateway.