How azure/adx-mon works
Project Type and Purpose
• ADX-Mon is an observability platform focused on integrating metrics, logs, traces, and continuous profiling into a unified system.
• The platform is built on Azure Data Explorer (ADX) and uses Kusto Query Language (KQL) for processing telemetry data.
• It is designed to be highly scalable, cloud-native (with specific support for Kubernetes), and supports industry-standard interfaces like OTEL and Prometheus.
File Structure – Key Insights
• Multiple top-level directories like “alerter”, “collector”, “ingestor”, “api”, “pkg”, “build”, and “tools” indicate a modular, microservices-like architecture:
• The “alerter” package handles alert evaluation, rule processing, and notification dispatching.
• The “collector” directory contains extensive support for collecting logs and metrics using different sources (journal, tail, etc.) and includes plugins for transforming data.
• The “ingestor” directory is responsible for data ingestion, processing telemetry, and interfacing with ADX.
• The “api” folder exposes custom resource definitions (CRDs) and API types for Kubernetes integration.
• The “pkg” directory contains supportive libraries (for HTTP services, logging, synchronization, Kubernetes helpers, OTLP, WAL, etc.).
• The “build” and “kustomize” folders include container build scripts and Kubernetes manifests, which highlight deployment in cloud-native environments.
Detail the Interactions and Data Flows
• From External Telemetry Sources → Collector (logs, metrics ingestion).
• From Collector → Ingestor (data normalization, batching, transformation).
• From ADX (or ADX data store) → Alerter (KQL queries and alert rule validations).
• From Alerter → Notification channels / External integrations.
• From “api” (Kubernetes CRDs) → Configuration/control plane that informs Alerter.
• That these components communicate via industry-standard APIs (OTEL, Prometheus, custom HTTP/REST services).