Open-source event tracking built on Kafka and ClickHouse
Trench is open-source event tracking infrastructure built on Apache Kafka and ClickHouse, designed to handle large volumes of analytics events in real time. It provides a Segment-compatible API (Track, Identify, Group) that teams can self-host via a single Docker image or use as a managed cloud service. Built by the team behind Frigade (YC W23), it targets companies that need high-throughput, privacy-compliant analytics without the overhead of managing Kafka and ClickHouse separately.
Drop-in replacement for Segment's Track, Identify, and Group calls with minimal migration
Handles thousands of events per second on a single node powered by Kafka
Query event data in real time via SQL or REST API
Entire stack ships as one Docker image with no separate Kafka/ClickHouse management
Route events to external systems and data warehouses via webhooks
Cookie-free architecture with built-in data access, rectification, and deletion controls
Managed cloud tier scales automatically with a 99.99% SLA
Replace Segment or Mixpanel's data pipeline with a self-hosted, cost-effective event store
Collect user behavior data without cookies for GDPR/PECR compliant EU-focused SaaS products
Handle millions of events per day from mobile apps, web apps, or IoT devices without sampling
Stream real-time events into Snowflake, BigQuery, or Redshift via webhook destinations
Built-in UI for querying and managing event data on cloud tier
Fully open-source, self-hostable on any cloud provider
SAML 2.0 SSO and dedicated on-premises deployment for enterprise customers
Migrate off Segment to reduce costs while maintaining API compatibility with minimal code changes

Modular open-source ERP for manufacturing & beyond