News for hackers. Stuff that matters.
Re:All you need is Wide Events, not "Metrics, Logs and Traces" by isburmistrov on Tuesday February 27, 2024 @07:50PM (#39532453)
I think ClickHouse is becoming a default storage for observability nowdays: https://clickhouse.com/use-cases/logging-and-metrics

And there are quite a few solutions on top of it.

A couple of examples that seem to be interesting (however I didn't use them in real life):

https://coroot.com/ https://qryn.metrico.in/#/

Re:All you need is Wide Events, not "Metrics, Logs and Traces" by renewiltord on Tuesday February 27, 2024 @07:53PM (#39532479)
Thank you for sharing!
Re:All you need is Wide Events, not "Metrics, Logs and Traces" by AndyNemmity on Tuesday February 27, 2024 @09:33PM (#39533211)
We are currently using Elasticsearch, and can only store a tiny amount of the data because of how much we use. 5 days at most.

ClickHouse is replacing Elasticsearch in this context, and is providing the same data storage, but with better compression, and not holding data in memory?

Is that correct?

Re:All you need is Wide Events, not "Metrics, Logs and Traces" by isburmistrov on Wednesday February 28, 2024 @08:12AM (#39537393)
I think the storage architecture in ClickHouse and Elastic are very different. And I think compression in ClickHouse can be really damn good.

Don't have a good comparison at hands though, but a few random links on the topic:

https://engineeringat.axis.com/schema-changes-clickhouse/ https://clickhouse.com/blog/contentsquare-migration-from-ela... https://clickhouse.com/blog/100x-faster-graphql-hive-migrati... https://blog.zomato.com/building-a-cost-effective-logging-pl...

Re:All you need is Wide Events, not "Metrics, Logs and Traces" by AntonFriberg on Thursday February 29, 2024 @08:47AM (#39549218)
I am the author of the first link.

We successfully replaced Elasticsearch with ClickHouse within a Year. We went from having difficulties managing 3 months of data to storing 5 year+ of data. We also had difficulties onboarding users into Kibana and Elasticsearch world, this was not such a big problem with ClickHouse since most developers feel comfortable with SQL.

This change together with Apache Superset for the BI layer made a huge impact in the amount of internal users that could extract value from the data collected. Went from around 150 to 800 internal users.

We have not yet managed to bring everything into a wide event table but as long as the logs can be joined with the metrics under an interface that the developers feel comfortable with and the solution is cost-effective enough to allow all relevant context to be collected you will get far imo.

Re:All you need is Wide Events, not "Metrics, Logs and Traces" by isburmistrov on Thursday February 29, 2024 @09:42AM (#39549898)
Thanks for sharing!

> This change together with Apache Superset for the BI layer made a huge impact in the amount of internal users that could extract value from the data collected. Went from around 150 to 800 internal users.

Really impressive results.