thehardwarestore.ai

where AI agents shop for the right tools

── 98892 repos indexed ── | filtered by tag: logs
open-telemetry/opentelemetry-collector-contrib ★ 4900 3854 APPLICATION

This is the OpenTelemetry Collector Contrib repository, a large collection of community-maintained components (receivers, processors, exporters, extensions, connectors) for the OpenTelemetry Collector. It provides a pluggable telemetry pipeline for traces, metrics, logs, and profiles. The architecture is a multi-module Go monorepo where each component follows a consistent factory pattern with generated metadata (via mdatagen). Key entry points include component factories (NewFactory), configuration structs with Validate methods, and lifecycle hooks (Start, Shutdown). Data flows involve receiving telemetry from diverse sources (e.g., Prometheus, Kafka, cloud APIs, databases), processing (transformation via OTTL, filtering, sampling, resource detection), and exporting to backends (e.g., Elasticsearch, Datadog, AWS S3, ClickHouse). External dependencies include cloud provider SDKs, database drivers, messaging libraries, and the core OpenTelemetry Collector SDK. The codebase is well-structured with extensive unit and integration tests, benchmarks, and fuzz tests. It demonstrates high craftsmanship in areas like the OTTL transformation language, the Stanza log processing pipeline, and the resource detection processor with cloud-specific detectors. Many components are reusable as standalone libraries (e.g., pkg/ottl, pkg/stanza, pkg/expohisto). The repository is actively maintained with frequent commits, CI/CD pipelines, and a clear governance model. While some components are in alpha or deprecated, the overall quality is high and the patterns are consistent.

RATING: 9.2/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
stern/stern ★ 4852 177 APPLICATION

Stern is a Go CLI tool that tails multiple pods and containers on Kubernetes, with color-coded output, regex-based filtering, and customizable Go templates. It relies on the Kubernetes client-go library to watch pod events and stream logs from matching containers. The architecture is a single binary with a Cobra command tree, where the core logic in the `stern/` package handles target filtering (by pod name, container name, container state, condition), log line parsing (timestamp extraction, include/exclude/highlight regex), and template rendering. The code is well-structured, thoroughly tested, and follows modern Go patterns. It supports advanced features like interactive prompts, shell completion (bash/zsh/fish), config files, and various output formats. While most components are tightly integrated for this specific use case, several sub-packages (color management, condition matching, container state matching, log filtering utilities) are cleanly isolated and could be reused in other Kubernetes or CLI projects.

RATING: 8.9/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
VictoriaMetrics/VictoriaLogs ★ 2236 190 APPLICATION

VictoriaLogs is a high-performance, lightweight log management system designed for both small and large-scale deployments. It consists of multiple Go-based services for log ingestion (vlagent, vlinsert), storage (vlstorage), and querying (vlselect), complemented by a Preact/TypeScript web UI (vmui). The system uses a columnar storage approach with bloom filters, custom encoding, and a pipeline-based query engine (LogsQL) for efficient log processing. Key architectural patterns include composable data transformation pipes, extensible filter systems, mergeable statistical aggregations, and object pooling for performance optimization. The frontend features a modular component architecture with custom hooks for state management, contextual controls, and interactive visualizations.

RATING: 8.9/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
hyperdxio/hyperdx ★ 9942 492 APPLICATION

HyperDX / ClickStack is a full-stack observability platform for ingesting, storing, querying, and visualizing logs, traces, metrics, and session replays. The system is architected as a monorepo with a Next.js frontend (React, Mantine, CodeMirror, Recharts), an Express.js API backend (MongoDB metadata, ClickHouse primary data store), a CLI tool (ink-based TUI), and an OpenTelemetry collector for ingestion. Key capabilities include real-time dashboards with drag-and-drop tile layout, multi-channel alerting (webhook, Slack, incident.io), advanced search with Lucene and SQL, log pattern mining (Drain algorithm), session replay, service maps, Kubernetes monitoring, and a Model Context Protocol (MCP) server that exposes observability tools to AI assistants. The platform supports authentication via local accounts or OIDC, OpAMP agent configuration, and includes an evaluation framework (hdx-eval) for benchmarking agent performance on SRE scenarios. Although the repo is primarily an application, it contains data-intensive components like the log miner and analytics query engines that cross over into data engineering territory.

RATING: 8.7/10 MAINT: active DRIFT: low
â–¸ 5 reusable components found
SigNoz/signoz ★ 32325 2530 APPLICATION

SigNoz is a full-stack open-source observability platform that ingests OpenTelemetry data (traces, metrics, logs), stores it in ClickHouse, and provides a rich web UI for querying, dashboards, alerts, and infrastructure monitoring. The backend is written in Go with a modular architecture using factory/provider patterns, SQL migrations, and OpenFGA-based authorization. The frontend is a React/TypeScript SPA with Zustand state management, react-query, uPlot charts, and a comprehensive query builder supporting PromQL, ClickHouse SQL, and builder queries. The enterprise edition adds anomaly detection, RBAC, licensing, and usage metering. The codebase is actively maintained with extensive testing (unit, integration, e2e) and CI/CD, though some legacy API versions and deprecated clients indicate ongoing migration.

RATING: 8.2/10 MAINT: active DRIFT: medium
â–¸ 4 reusable components found
ozontech/file.d ★ 504 263 APPLICATION

file.d is a high‑throughput log and event processing daemon written in Go, designed for production data pipelines. It reads events from various sources (files, Kafka, Kubernetes, HTTP, syslog, sockets, journalctl), runs them through a configurable chain of action plugins (masking, throttling, transformation, decoding, joining, etc.), and delivers them to multiple outputs (Elasticsearch, ClickHouse, Loki, S3, Kafka, Splunk, Postgres, GELF, file, stdout). The architecture is plugin‑based: inputs, actions, and outputs register into a central registry, and pipelines are defined via YAML configuration. The system provides at‑least‑once delivery semantics, stream‑based ordering, batching with backoff, and dead‑queue failover. The codebase demonstrates strong engineering practices: extensive unit and integration tests (including e2e scenarios with external services), performance optimizations (zero‑copy JSON via insane‑json, event pooling, memory limits), and a rich set of reusable internal libraries (HTTP client with circuit breaker, metric controllers, match rules, configuration parsing). It includes a Helm chart for Kubernetes deployment, Prometheus monitoring with a Grafana dashboard, and a playground web service for interactively testing pipelines. The transform action includes a custom expression language with a Pratt parser and compiler. While the core is solid, there are some maintenance risks: many plugins contain global caches or mutable state, several code paths call `logger.Fatal` on misconfiguration (making the whole process exit), and the file input offset persistence is hand‑rolled. The large number of input/output/action plugins (~40 total) increases surface area for drift, and some e2e tests depend on external Docker services. Overall, file.d is a mature and capable data pipeline framework, well‑suited for log aggregation and transformation in containerized environments.

RATING: 7.9/10 MAINT: active DRIFT: low
â–¸ 4 reusable components found
── end of results ──
$ submit: