PromCon 2024 - Aggregating metrics in-flight: challenges and opportunities

  Рет қаралды 85

Prometheus Monitoring

Prometheus Monitoring

Күн бұрын

Speakers: Roman Khavronenko
One of the common practices for improving the query speed in Prometheus is to create recording rules for commonly used queries. While this usually works great, recording rules have a cost:
1. The raw metrics still need to be stored in the Prometheus, even if we don't need them
2. Recording rule needs to be executed on interval basis, putting extra pressure on the Prometheus
3. Adding a recording rule always means storing&processing more data
But what if we could do the pre-aggregation before metrics get into the Prometheus? Can we aggregate on scrape time? Or could clients do the aggregation before pushing data to Prometheus? At VictoriaMetrics we already started working on something we call Stream Aggregation. An ability for metrics collector to perform in-memory aggregations before forwarding data elsewhere (Prometheus including). It has many challenges related to time series nature of aggregated samples, network delays, horizontal scaling, etc. I'd like to share our experience with the community, as this may be a life-quality improving feature.
promcon.io/202...

Пікірлер
PromCon 2024 - Inside a PromQL Query: Understanding the Mechanics
28:47
Prometheus Monitoring
Рет қаралды 249
PromCon 2024 - Practical OpenTelemetry with Prometheus 3.0
27:20
Prometheus Monitoring
Рет қаралды 203
Incredible: Teacher builds airplane to teach kids behavior! #shorts
00:32
Fabiosa Stories
Рет қаралды 12 МЛН
8 AI Tools That Will Make You Rich in 2025!
15:58
Aurelius Tjin
Рет қаралды 13 М.
PromCon 2024 - Why Not Just Dots? UTF-8 Support in Prometheus 3.0
32:34
Prometheus Monitoring
Рет қаралды 87
PromCon 2024 - Applying GitOps principles for central alert management
28:47