Trench
trench.dev
- Free plan
- API
- Self-hosted
What Trench is
Trench is open-source infrastructure for real-time event tracking and analytics. It collects and routes events, and lets users query data as it arrives with SQL or REST. It supports the Segment specification’s Track, Identify, and Group calls, and can send data to other destinations through throttled webhooks. The project says a single node can process thousands of events per second using Kafka.
Built on Apache Kafka and ClickHouse, Trench comes in a production-ready Docker image that includes both systems and the application. It is self-hosted, and the Open Source plan can run on any cloud provider. That plan costs nothing, has no usage limits, and includes community support. Trench is released under the MIT License, and its site describes it as GDPR compliant. The Enterprise offering has volume-based pricing and lists dedicated infrastructure, a support engineer, 24/7 phone and email support, an on-premises option, SAML 2.0 SSO, and third-party integrations. The team says it built Trench after its Postgres event-tracking table became costly and slowed down while serving millions of end users.
Who it suits
Trench suits teams that want to collect and query event data on infrastructure they host themselves. Its Segment compatibility and server-side collection and routing may fit teams already using those workflows.
Good to know, and what to watch
- Open-source under the MIT License
- No usage limits on the free plan
- Real-time querying with SQL or REST
- Segment Track, Identify, and Group support
- Docker image bundles Kafka and ClickHouse
- Self-hosted deployment requires teams to run the infrastructure
- Enterprise pricing is volume-based and not listed
Plans
Every plan and priceEnterprise
Open Source
Free plan
The verdict
Trench offers self-hosted event tracking with real-time queries, Segment compatibility, and no usage limits on its Open Source plan. Teams considering Enterprise should request pricing and confirm whether its listed deployment and support options fit their needs.
What the maker publishes
- Community support
- The Open Source plan includes community support, and the site directs users to its Slack community for assistance. source
- Company location
- The site says Trench is built in San Francisco by the team behind Frigade. source
- Data destinations
- Trench can send data to other destinations through throttled webhooks. source
- Deployment
- Trench provides a single production-ready Docker image that includes Kafka, ClickHouse, and the application. source
- Enterprise support
- The Enterprise offering includes a dedicated support engineer and 24/7 phone and email support. source
- Event processing
- Trench says it can process thousands of events per second on a single node using Kafka. source
- Headquarters
- San Francisco source
- License
- Trench is open source under the MIT License. source
- Product
- Trench is open-source infrastructure for real-time event tracking and analytics. source
- Querying
- Users can query data in real time with SQL or REST. source
- Security
- The site describes Trench as GDPR compliant. source
- Segment compatibility
- Trench supports the Segment specification, including Track, Identify, and Group. source
- Technology
- Trench is built on Apache Kafka and ClickHouse. source
- Use case
- The team created Trench after its Postgres event-tracking table became expensive and a performance bottleneck while serving millions of end users. source
Checked against the maker's pages on 8 Oct 2026.