Prometheus - Thanos vs VictoriaMetrics for HA and storage retention

993 views
Skip to first unread message

Bruno Cochofel

unread,
Aug 25, 2019, 10:52:55 PM8/25/19
to Prometheus Users
Hi,

I was looking at installing Thanos along with Prometheus for HA and storage retention and found VictoriaMetrics.

Seens easier to install/configure. Does anybody has experience with any one of these tools that can help on witch to choose?
From what I've read, VictoriaMetrics seens a better fit in just about everything.

Thanks,
Bruno

Aliaksandr Valialkin

unread,
Aug 28, 2019, 4:15:26 PM8/28/19
to Bruno Cochofel, Prometheus Users
I think it would be better asking this question on our Slack channel - http://slack.victoriametrics.com .

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/68d3ad63-3601-4d31-98c6-b03922e9dbfe%40googlegroups.com.


--
Best Regards,

Aliaksandr

Chris Bulleri

unread,
Aug 28, 2019, 6:54:48 PM8/28/19
to Prometheus Users
I'd love to hear about any lessons learned that you may have.  I'm not ready to implement either solution but would love to learn from you.

Aliaksandr Valialkin

unread,
Aug 29, 2019, 8:45:59 AM8/29/19
to Chris Bulleri, Prometheus Users
The major difference is that Thanos stores data on object storage such as S3 or GCS, while VictoriaMetrics stores data on persistent storage (either local or network-attached such as EBS or GCP disk). Both approaches have pros & cons, which are described at  https://medium.com/faun/comparing-thanos-to-victoriametrics-cluster-b193bea1683 .

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.


--
Best Regards,

Aliaksandr

Bartłomiej Płotka

unread,
Aug 29, 2019, 9:26:20 AM8/29/19
to Aliaksandr Valialkin, Chris Bulleri, Prometheus Users
Just to clarify it's worth to note that there other significant differences:

* You can configure Thanos to NOT use Prometheus remote-write completely and I think that's the simplest option currently. Instead, Thanos is capable of streaming the metric data from Prometheus directly which allows smooth, gradual installation process - you just add sidecar plus single service. Then you can move to more complex setup with object storage for long term retention or even remote write.  
* Thanos uses native Prometheus/TSDB format in the object storage. So native analysis, compaction, debugging Prometheus tools work just fine.

Note that Thanos on top of GCS, S3 also supports Azure, Tencent, OpenStack Swift and more. 

The last thing to remember is that both I and Aliaksandr might be biased (: I am Thanos co-author, Aleksandr founded VictoriaMetrics. 

As always I would recommend to try both (including another option: Cortex) and gather more input on what fits your needs the most.

Kind Regards,
Bartek

Reply all
Reply to author
Forward
0 new messages