GitHub - VictoriaMetrics/VictoriaMetrics: VictoriaMetrics: fast, cost-effective monitoring solution and time series database
VictoriaMetrics 是一种快速、节省成本且可扩展的解决方案,用于监控和管理时间序列数据。它提供高性能和可靠性,使其成为各种规模企业的理想选择。
- Long-term storage for Prometheus or as a drop-in replacement for Prometheus and Graphite in Grafana.
- Prometheus 的长期存储 ,或作为 Grafana 中的 Prometheus 和 Graphite 的直接替代品。
Benchmarks
以下是一些基准测试
Some good benchmarks VictoriaMetrics achieved:
- Minimal memory footprint : handling millions of unique timeseries with 10x less RAM than InfluxDB, up to 7x less RAM than Prometheus, Thanos or Cortex.
- Highly scalable and performance for data ingestion and querying, 20x outperforms InfluxDB and TimescaleDB.
- High data compression : 70x more data points may be stored into limited storage than TimescaleDB, 7x less storage space is required than Prometheus, Thanos or Cortex.
- Reducing storage costs : 10x more effective than Graphite according to the Grammarly case study.
- A single-node VictoriaMetrics can replace medium-sized clusters built with competing solutions such as Thanos, M3DB, Cortex, InfluxDB or TimescaleDB. See VictoriaMetrics vs Thanos, Measuring vertical scalability, Remote write storage wars - PromCon 2019.
- Optimized for storage : Works well with high-latency IO and low IOPS (HDD and network storage in AWS, Google Cloud, Microsoft Azure, etc.).
Grafana Mimir and VictoriaMetrics: performance tests
In the first round Mimir and VictoriaMetrics were running under same load and on the same hardware. Benchmark results were the following:
在第一轮中,Mimir 和 VictoriaMetrics 在相同的负载和相同的硬件上运行。基准测试结果如下:
- VictoriaMetrics uses x1.7 less CPU for the same workload;
VictoriaMetrics 对相同的工作负载使用的 CPU 减少了 1.7 倍; - VictoriaMetrics uses x5 less RAM for the same amount of active series;
VictoriaMetrics 对相同数量的活动序列使用少 x5 的 RAM; - VictoriaMetrics uses x3 less storage space for the 24h of data collected during the benchmark.
VictoriaMetrics 为基准测试期间收集的 24 小时数据使用的存储空间减少了 x3。
Grafana Intergration
根据文档中所说
由于 VictoriaMetrics 与 Prometheus API 兼容,大多数用户都可以使用 Prometheus 数据源 供 Grafana 从 VictoriaMetrics 查询数据。但随着时间的推移,Prometheus 和 VictoriaMetrics 的分歧越来越大。 使用 VictoriaMetrics 插件的好处如下:
但是使用 Prometheus 数据源,可以支持 trace 联动, 参考官方文档 Link to a trace ID