メトリクスをそれなりの規模でうまく運用するにはどうしたものかと今あるもので比較してみました。
M3
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compatible, Metrics Platform
Key Features
- A distributed time series database
- A sidecar process
- A distributed query engine
- An aggregation tier
Components
- M3 Coordinator
- M3DB
- M3 Query (Engine)
- M3 Aggregator
CNCF to Host OpenMetrics in the Sandbox - Cloud Native Computing Foundation
We are excited to be a part of OpenMetrics and will natively support the standard in our open source distributed time series database M3DB, which we use to store petabytes of metrics with, alongside supporting long-term storage of metrics for Prometheus
Thanos
thanos-io/thanos: Highly available Prometheus setup with long term storage capabilities.
Thanos is a set of components that can be composed into a highly available metric system with unlimited storage capacity, which can be added seamlessly on top of existing Prometheus deployments.
Thanos - 無制限ストレージを備えたスケーラブルなPrometheus
How does M3 compare to Thanos
Uberが独自の大規模メトリクスプラットフォームM3をオープンソースとして公開
ローカルに置かれていないメトリクスのレイテンシが大きいこと
Cortex
Cortex: horizontally scalable, highly available, multi-tenant, long term storage for Prometheus.
感想
M3が一番シンプルな作りをしている気がします。
次は実際に動かしてみたいと思います。