Using VictoriaMetrics
VictoriaMetrics is one of the most popular and established options for the remote storage of Prometheus metrics. In fact, some people and projects use VictoriaMetrics as a drop-in replacement for Prometheus since it supports directly scraping targets via its vmagent
component and is mostly compatible with the Prometheus configuration file (it lacks support for the remote_write
, remote_read
, rule_files
, and alerting
sections).
One of the primary reasons that people choose VictoriaMetrics as their remote storage destination is its resource efficiency. In a head-to-head benchmark against Prometheus, VictoriaMetrics boasts seven times the reduction in disk space (~0.3 bytes per sample vs. ~2.1 bytes) and five times the reduction in memory (~4.3GB of RAM vs. ~23GB) for the same amount of time series and samples (2.8 million active time series and 280,000 samples/sec) in their benchmark, published at https://valyala.medium.com/prometheus-vs-victoriametrics-benchmark...