Trench — Open-Source Analytics Infrastructure. A single production-ready Docker image built on ClickHouse, Kafka, and Node.js for tracking events, page views. Easily build product analytics dashboards, LLM RAGs, observability platforms, or any other analytics product.
To standardize and improve logging, we should replace all console.log instances with nestjs/logger. It provides:
Log Levels: (log, error, warn, debug, verbose) for better categorization.
Environment Awareness: Adjusts log output based on NODE_ENV.
Future Extensibility: Enables easy integration with tools like Pino, Winston, or OTEL.
To standardize and improve logging, we should replace all console.log instances with
nestjs/logger
. It provides:Log Levels: (
log
,error
,warn
,debug
,verbose
) for better categorization. Environment Awareness: Adjusts log output based onNODE_ENV
. Future Extensibility: Enables easy integration with tools like Pino, Winston, or OTEL.