M3 provides M3DB storage, aggregation, and querying with Prometheus, Graphite, and StatsD compatibility for large-scale metric pipelines.
Overview
M3 is an open metrics platform centered on a distributed time-series database, query engine, and aggregator. It was built to centralize monitoring at very high cardinality and ingest rates while remaining compatible with Prometheus workflows.
M3DB stores metrics with replication and quorum reads and writes. The stack advertises PromQL compatibility, Prometheus remote storage, Graphite query and ingestion paths, and StatsD-style intake. Compression and an inverted index target efficient storage and flexible label queries at large scale.
Operators typically deploy clusters via Docker for quick trials or fuller installs documented on the project site. Kubernetes appears in project topics and customer stories as a common deployment context. Grafana is commonly paired for visualization alongside Prometheus-style scrapers or Carbon pipelines.
The monorepo also includes a Prometheus sidecar pattern and community guidance for placements, namespaces, and writing and querying metrics through HTTP APIs. It is maintained as open source under the Apache 2 license with public meetups and contribution docs.
Key features
- Distributed M3DB time-series storage
- Prometheus remote storage and PromQL
- Graphite and StatsD ingestion support
- Metrics aggregator component
- Replicated quorum writes and reads
- Inverted index for label queries
- Docker-based quickstart deployment
- Prometheus sidecar integration
Use cases
- Central Prometheus long-term storage
- High-cardinality metrics at global scale
- Graphite-compatible metrics backends
- Unified aggregation before visualization