A unified observability platform for logs, metrics, and traces, built for high-volume environments.
Documentation • Rust API Docs • Grafana Plugin • Design Presentation • Unreal Engine Guide
Micromegas is an observability system designed to provide unified insights into complex applications. It allows you to collect and analyze logs, metrics, and traces in a single, scalable database. Our goal is to help you spend less time reproducing bugs and more time understanding and improving your software's quality and performance.
- Empower developers with comprehensive insights, eliminating time-consuming bug reproduction.
- Quantify issue frequency and severity to allow better priority management.
- Provide detailed traces based on high-frequency telemetry to enable a deep understanding of every issue.
- 🚀 Unified Observability: Store and query logs, metrics, and traces together to get a complete picture of your application's behavior.
- ⚡ Low-Overhead Instrumentation: Client-side instrumentation adds minimal overhead, averaging just 20 ns per event in the calling thread.
- 🌊 High-Frequency Data Collection: Built to handle up to 100,000 events per second from a single instrumented process.
- ☁️ Scalable & Cloud-Native: The backend is designed to scale horizontally, capable of ingesting data from millions of concurrent processes using object storage (S3) and PostgreSQL.
- 💰 Cost-Efficient by Design: Keep costs low with tail sampling and on-demand ETL. Raw data is stored cheaply and only processed when you need to query it.
- 🔍 Powerful SQL Interface: Query your data using a powerful and familiar SQL interface, powered by Apache DataFusion and accessible via Apache Arrow FlightSQL.
Micromegas consists of several key components:
- Instrumentation Libraries: Lightweight libraries for your applications (available in Rust and Unreal Engine) to send telemetry data.
- Ingestion Service (
telemetry-ingestion-srv
): A scalable service that receives telemetry data and writes it to blob storage. - Analytics Service (
flight-sql-srv
): A DataFusion-powered service that exposes a FlightSQL endpoint for running queries against your data. - PostgreSQL Database: Stores metadata about processes, streams, and data blocks, keeping the object storage indexable and fast to query.
- Object Storage (S3/GCS): Stores all raw telemetry payloads and materialized query results in Parquet format.
Unlike traditional observability platforms with opaque and often escalating costs, Micromegas offers a transparent and orders of magnitude more efficient solution. With Micromegas, you can afford to record billions of events without relying heavily on sampling, gaining a complete and accurate picture of your systems. By leveraging your own cloud infrastructure, Micromegas drastically reduces your observability spend, especially at scale.
Discover how Micromegas achieves this unparalleled cost efficiency and compare it with traditional solutions in our detailed Cost Effectiveness document.
To get started with Micromegas, please refer to the GETTING_STARTED.md guide.
Our current focus is on async span tracing - delivering comprehensive observability for asynchronous Rust applications.
- Async Span Tracing Infrastructure: Complete async tracing support with automatic future instrumentation
micromegas_main
Proc Macro: Drop-in replacement fortokio::main
with automatic telemetry setup#[span_fn]
Macro Enhancement: Now supports both sync and async functions with unified instrumentation- Manual Async Instrumentation:
InstrumentedFuture
wrapper for fine-grained control over async span tracking - Thread-Safe Runtime Integration: Seamless tokio runtime integration with automatic thread lifecycle management
For a detailed history of changes, please see the CHANGELOG.md file.
We welcome contributions from the community! If you're interested in helping improve Micromegas, please see our Contribution Guidelines for more details on how to get involved.
Whether it's bug reports, feature requests, or code contributions, your input is valuable.
Micromegas is licensed under the Apache License, Version 2.0.