GrafanaCONline: Prometheus rate queries in Grafana

  Рет қаралды 32,617

Grafana

Grafana

Күн бұрын

This was a session GrafanaCONline 2020. All on-demand videos can be found here: The GrafanaCONline schedule is here: grafana.com/ab...
Which range to use in a Prometheus rate query is already a bit of rocket science. When Grafana enters the game to visualize the result of such a query, things get even more interesting. In most cases, you’ll end up with a dynamic range, but navigating the many available settings for it is sometimes a bit daunting. But do not despair, this talk will teach you all you have to know, even in case when you add to the mix recording rules, which are blissfully ignorant of any dynamic range requested by Grafana. If all goes well, we can even inaugurate a nifty little new feature in the Prometheus data source that will improve your rate visualizations even more.

Пікірлер: 17
@belmarkcaday7916
@belmarkcaday7916 3 жыл бұрын
Great explanation. Thanks ser Jaime Lannister
@romanmelnyk7740
@romanmelnyk7740 Жыл бұрын
This is the best explanation for rate func I watched so far, thank you so much for this video!!!
@romankhavronenko6569
@romankhavronenko6569 4 жыл бұрын
I like this new white-board Grafana interface!
@briggsezra7783
@briggsezra7783 3 жыл бұрын
Instablaster.
@IvanyaKosmos
@IvanyaKosmos 2 жыл бұрын
used prometheus for years and only now i was blessed by algorithm and found this video. great tutorial, cleared many things for me
@rrr00bb1
@rrr00bb1 3 жыл бұрын
Signal processing: Nyquist's Theorem. You must sample at a rate of 2x the highest frequency to detect. When you average over an interval, you get a low-pass filter (that filters out high frequencies. When you expect to miss 1 scrape, it makes sense that you want to use 4x because of this.
@pythonsriracha4944
@pythonsriracha4944 3 жыл бұрын
Great explanation, thank you!
@ruslanvs
@ruslanvs 4 жыл бұрын
This is gold.
@johnjames_cowperthwaite
@johnjames_cowperthwaite 4 жыл бұрын
Many thanks Bjorn, great explanation!
@prabhakarp9861
@prabhakarp9861 3 жыл бұрын
Great talk!
@TheASHOKNAN
@TheASHOKNAN 2 жыл бұрын
fantastic explanation
@ankitbhalla4813
@ankitbhalla4813 4 жыл бұрын
great tutorial !!
@ridakejji6837
@ridakejji6837 2 жыл бұрын
Great thank you !!!
@MsKinder123
@MsKinder123 3 жыл бұрын
Really useful:) thanks
@micdestefano
@micdestefano 3 жыл бұрын
Thank you very much for this great explanation. I have a question if you don't mind. Let's assume I have a Prometheus query like the one you showed, e.g. rate(process_cpu_seconds_total{...}[5m]). Let's assume that now I would like to extract the 95th percentile hour by hour of the resulting time series. Is it possible to do that? I mean, how can I combine the "quantile_over_time" with rate(process_cpu_seconds_total{}[5m]) ? I've not managed to do that up to now. If it is possible and you know how to do that, can you tell me, please?
@haralc
@haralc Жыл бұрын
Is it just me or prometheus is a bit strange? I wrote an application for testing that increments a counter by 1 every 5s. That said, prometheus can only show me .2 when apply the rate, even if I set the "step" as 5 (seconds)... this is quite annoying because there's no 0.2 request per second ... like you cannot split a human into smaller pieces.
@IvannSerbia
@IvannSerbia 10 ай бұрын
Thats how it works. The idea is to detect spikes, and it will work!
How to build a PromQL (Prometheus Query Language)
38:34
Is it Observable
Рет қаралды 44 М.
Understanding Prometheus Histograms | Motivation and Concepts, Instrumentation, Querying in PromQL
22:05
Prometheus Monitoring with Julius | PromLabs
Рет қаралды 5 М.
МАИНКРАФТ В РЕАЛЬНОЙ ЖИЗНИ!🌍 @Mikecrab
00:31
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 41 МЛН
АЗАРТНИК 4 |СЕЗОН 1 Серия
40:47
Inter Production
Рет қаралды 1,4 МЛН
SLOs, SLIs, and where to find them with Jacob Plicque III
17:45
All the components of Loki explained
16:42
Grafana
Рет қаралды 558
Better Histograms for Prometheus - Björn Rabenstein, Grafana Labs
29:57
CNCF [Cloud Native Computing Foundation]
Рет қаралды 8 М.
The 4 Types Of Prometheus Metrics
14:15
Tom Gregory Tech
Рет қаралды 59 М.
Counting with Prometheus [I] - Brian Brazil, Robust Perception
39:38
CNCF [Cloud Native Computing Foundation]
Рет қаралды 35 М.
Understanding Counter Rates and Increases in PromQL | Reset Handling, Extrapolation, Edge Cases
10:53
Prometheus Monitoring with Julius | PromLabs
Рет қаралды 16 М.
Prometheus Best Practices and Pitfalls - Julius Volz - Swiss Cloud Native Day 2021
32:29
Cloud Native Bern / Swiss Cloud Native Day
Рет қаралды 765
PromQL Tutorial - Prometheus and Thanos Observability (English)
32:56
Taboola Engineering
Рет қаралды 28 М.
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Dylan Beattie
Рет қаралды 158 М.