Re:Systems Monitoring with Prometheus and Grafana
by AlphaSite on Wednesday August 12, 2020 @01:01AM
(#24128733)
Doesn’t it also have cardinality issues?
[ Parent
| on HN ]
Re:Systems Monitoring with Prometheus and Grafana
by halfmatthalfcat on Wednesday August 12, 2020 @01:30AM
(#24128852)
You get high enough (hitting a metric with >100k unique labels), queries become unmanageable and incredibly slow when backed by the stock datastore (tsdb). However there are backing datastores (TimescaleDB, InfluxDB, VictoriaMetrics, etc) that ingest Prometheus metrics and enable higher cardinality.
Re:Systems Monitoring with Prometheus and Grafana
by unixhero on Wednesday August 12, 2020 @08:05AM
(#24131177)
This is where I fall off.
Is Prometheus a DB that (can) forward data to another DB?
Re:Systems Monitoring with Prometheus and Grafana
by halfmatthalfcat on Wednesday August 12, 2020 @08:32AM
(#24131367)
Prometheus is a data format but it's also a "suite" of tools on top of that data format.
Usually what happens is your app, db, whatever will expose metrics (http request status, average response time, etc) in the Prometheus format which is then scraped by the Prometheus ingestor. The ingestor stores those metrics in a (short-term) datastore called TSDB. Prometheus also ships with a little web UI as well that can query those metrics in TSDB.
However Prometheus allows scraping from the ingestor (usually federation) or pushing into an external datastore that is usually more performant than TSDB.
So when people say "Prometheus", they usually are talking about the suite of tools however practically it's really just the format of the metrics data.
Re:Systems Monitoring with Prometheus and Grafana
by unixhero on Thursday August 13, 2020 @03:24PM
(#24147285)
Thanks for the explanation
Re:Systems Monitoring with Prometheus and Grafana
by roskilli on Wednesday August 12, 2020 @02:17AM
(#24129069)
And M3DB too if you want to cluster and scale out, vs cloud store
Re:Systems Monitoring with Prometheus and Grafana
by RhodesianHunter on Wednesday August 12, 2020 @01:18AM
(#24128811)
There's no real way to develop a metrics system without cardinality issues. Where you draw the line depends on the backing database but they're all fairly constrained.