Re:InfluxDB CTO: Why We Moved from Go to Rust
by matsemann on Sunday October 01, 2023 @02:21PM
(#37728818)
Not really the biggest difference, I feel. In Prometheus, you only have the data you scrape. So lets say you scrape every minute. Then all you have is a counter per pod increasing from some value to something else.
With influx you can save every event. So you know exactly when it happened, the unique labels for that event etc. It's a completely different paradigm.
So in Prometheus you have
myCounter,pod=1,time=20:23,value=1000
myCounter,pod=2,time=20:23,value=500
myCounter,pod=1,time=20:24,value=1100
myCounter,pod=2,time=20:24,value=700
so all you know is that some event happened 100 times on pod1 and 200 times on pod2 the last minute. But with influx you could have a row for every single event. Of course that explodes the query time in comparison, but allows you to do much more with the data if needed.
>While Prometheus is often good enough for standard metrics, it is just things it can't handle.
My experience is that just anything made to ingest and analyze logs ends up mediocre for metrics and vice versa. I don't think I've seen single product that did both well or efficiently. So I'd rather have good metrics and just use ELK/Graylog/whatever else for logs.