News for hackers. Stuff that matters.
Re:Systems Monitoring with Prometheus and Grafana by halfmatthalfcat on Tuesday August 11, 2020 @06:27PM (#24126739)
Prometheus and Grafana are awesome, use them personally for all my monitoring.

However I’m still trying to nail down my high cardinality/highly unique metrics-like data story. What are people using?

I’ve heard a combination of Cassandra/BigTable and Spark as a potential solution?

Re:Systems Monitoring with Prometheus and Grafana by latchkey on Tuesday August 11, 2020 @07:24PM (#24127111)
I found this interesting. My plan is to move from Prom to Victoria.

https://medium.com/@valyala/measuring-vertical-scalability-f...

Re:Systems Monitoring with Prometheus and Grafana by akulkarni on Tuesday August 11, 2020 @07:44PM (#24127245)
Just a heads up, this is an old comparison (over 1 year ago) that hasn't been updated since TimescaleDB now supports native compression. (Blog post references TimescaleDB 1.2.2, the product is now on 1.7.2).
Re:Systems Monitoring with Prometheus and Grafana by sagichmal on Tuesday August 11, 2020 @07:34PM (#24127173)
Woof, good luck. Not a great product.
Re:Systems Monitoring with Prometheus and Grafana by PerusingAround on Tuesday August 11, 2020 @11:03PM (#24128229)
Care to elaborate? At least a slight mention of why.
Re:Systems Monitoring with Prometheus and Grafana by akulkarni on Tuesday August 11, 2020 @07:09PM (#24127023)
TimescaleDB is a long-term storage option for Prometheus metrics, has no problem with high-cardinality, and now natively supports PromQL (in addition to SQL) [0]

(Disclaimer: I work at Timescale)

[0] https://github.com/timescale/timescale-prometheus

Re:Systems Monitoring with Prometheus and Grafana by chinhodado on Wednesday August 12, 2020 @11:28AM (#24133018)
I'm just starting to look into this and have a question. If I can export my metrics directly to TimescaleDB and it supports visualization with Grafana, is there any reason to go through Prometheus?
Re:Systems Monitoring with Prometheus and Grafana by akulkarni on Wednesday August 12, 2020 @06:31PM (#24137832)
Good question. The advantage of Prometheus is the ability to scrape from a variety of endpoints (seems like more and more things are exposing the Prometheus format).

There are some who write metrics directly to TimescaleDB, while others prefer going through Prometheus to take advantage of that ecosystem.

Best part: We support both!

Re:Systems Monitoring with Prometheus and Grafana by Legogris on Tuesday August 11, 2020 @09:50PM (#24127867)
I'd be curious to hear if anyone has done serious evaluation of high-cardinality use-cases of Victoriametrics.
Re:Systems Monitoring with Prometheus and Grafana by chucky_z on Wednesday August 12, 2020 @03:06AM (#24129330)
I went from an Influx getting crushed to VM running in a container with 1/8th the resources and it works fine, 1.5m active cardinality. Could handle a lot more probably. Auto fill in Grafana breaks but oh well!
Re:Systems Monitoring with Prometheus and Grafana by jdub on Wednesday August 12, 2020 @04:00AM (#24129608)
Honeycomb https://honeycomb.io/ is laser focused on this stuff. They built their own datastore (similar to Druid but schemaless) so they could create the experience they were aiming for.

They talk a lot about collaborative troubleshooting, and the user interface reflects that. It's actually fun (?!) to drill down from heatmaps to individual events with Honeycomb's little comparison charts lighting the way.

Re:Systems Monitoring with Prometheus and Grafana by Nihilartikel on Tuesday August 11, 2020 @08:32PM (#24127492)
I've used druid.io in the past and it had worked well, but it's a lot of trouble to set up and tune.. Haven't tried it, but clickhouse looks good and has approximate aggregations for high cardinality dimensions.
Re:Systems Monitoring with Prometheus and Grafana by jpgvm on Wednesday August 12, 2020 @05:13AM (#24129952)
Druid truly is still king in this space. The setup has become less onerous over time. It handles arbitrarily high cardinality and dimensionality with ease and its support for sketching algorithms leaves other similar systems (especially Prometheus) in the dust.
Re:Systems Monitoring with Prometheus and Grafana by jrott on Tuesday August 11, 2020 @06:31PM (#24126769)
Spark has worked decently for me if you need to be cloud agnostic.

Currently I’m in AWS land and Athena has been mostly working for what I need but I haven’t really pushed it that hard yet.

Re:Systems Monitoring with Prometheus and Grafana by sagichmal on Tuesday August 11, 2020 @06:47PM (#24126891)
Just curious what your numbers are? Unique metrics, cardinality per metric, ingest rate, expected query ranges?
Re:Systems Monitoring with Prometheus and Grafana by base698 on Tuesday August 11, 2020 @06:57PM (#24126950)
I have an instance that scrapes about 30K targets for 15 million metrics and it works better than you'd expect. The biggest performance issue we have is rendering the targets page.

We have a plan to split it down to less instances per node but it's worked well enough so far.