qmetrics.net

Trench

Open-source event tracking infrastructure on Kafka and ClickHouse

Trench screenshot

Trench ingests and stores product events for real-time analytics. It ships as a single Docker image combining Kafka, ClickHouse, and a Node.js tracking layer.

Overview

Trench is an event tracking system built on Apache Kafka and ClickHouse. It accepts high volumes of events and supports querying and analytics in real time. The project targets product analytics dashboards, observability-style pipelines, and other event-driven use cases described in its documentation.

The stack is packaged as one production-ready Docker image so operators do not need to assemble Kafka, ClickHouse, and application services separately. Ingestion aligns with the Segment-style Track, Group, and Identify APIs, which lets existing Segment-oriented clients send data without bespoke adapters.

Operators can query events through HTTP endpoints and run raw SQL via a dedicated queries API. Webhooks can forward data to downstream systems. Kafka connections support SASL and SSL configuration for both the Node.js client and ClickHouse.

Trench is offered as self-hosted open source that you deploy on your own infrastructure, and as a managed cloud option for teams that prefer not to run the stack themselves. The product emphasizes no-cookie tracking and states GDPR and PECR compliance, with user controls to access, rectify, or delete data.

Key features

  • Segment-compatible Track, Group, Identify APIs
  • Single production-ready Docker image
  • Real-time event querying
  • Raw SQL analysis endpoint
  • Webhook destinations
  • Kafka SASL and SSL support
  • No-cookie GDPR and PECR positioning
  • Thousands of events per second on one node

Use cases

  • Product analytics dashboards
  • LLM RAG event pipelines
  • Observability platforms
  • Google Analytics-style setups with Grafana

Does the same job as

Trench doesn't name these products itself, but its own description shows it does the same job.

Tags

Similar software

ClickHouse

Column-oriented real-time analytics database management system

ClickHouse is a column-oriented database for generating analytical reports in real time using SQL on large datasets.

  • Column-oriented OLAP storage
  • Real-time analytical SQL queries
  • High compression for large datasets
C++Linux, macOSDetails →
★ 51.4k⟳ todayApache-2.0
Open Source Alternative to:Amazon RedshiftBigQuery+1

Presto

Distributed SQL engine for big data

Presto executes distributed SQL queries across large datasets. Coordinators and workers connect to Hive and other catalogs for interactive analytics.

  • Distributed SQL across workers
  • Hive and pluggable catalogs
  • Interactive SQL CLI client
JavaWeb, Linux, macOS, CLIDetails →
★ 16.8k⟳ todayApache-2.0

Apache Druid

Real-time analytics database for fast queries at scale

Apache Druid is a real-time analytics database focused on fast ingest and queries. It powers interactive UIs, ad hoc analysis, and high concurrency workloads.

  • Sub-second OLAP query engine
  • Kafka and Kinesis stream ingestion
  • Built-in web console and SQL workbench
JavaWeb, DockerDetails →
★ 14.1k⟳ todayApache-2.0
Open Source Alternative to:BigQuerySnowflake

Trino

Distributed SQL query engine for large-scale analytics

Trino runs ANSI SQL across data lakes, warehouses, and many connectors without copying data first.

  • Distributed parallel SQL execution
  • ANSI SQL with diverse connectors
  • Query federation across sources
JavaLinux, macOS, CLIDetails →
★ 13.6k⟳ todayApache-2.0

Databend

Rust analytics warehouse with search and agent sandboxes

Open-source data warehouse on object storage combining SQL analytics, vector search, full-text search, and sandboxed Python UDFs for agents.

  • SQL analytics on object storage
  • Vector and full-text search
  • Sandboxed Python UDFs
RustDockerDetails →
★ 9.5k⟳ todayApache-2.0
Open Source Alternative to:Amazon RedshiftBigQuery+1

Lance

Open lakehouse format for multimodal AI data

Lance is an open lakehouse file and table format for multimodal AI with fast random access, vector search, and rich analytics integrations.

  • Vector and full-text hybrid search
  • Fast random row access
  • Multimodal blob storage
RustDetails →
★ 7.4k⟳ todayApache-2.0