The 4 Types Of Prometheus Metrics

preview_player
Показать описание
Discover the different types of Prometheus metrics, how to decide which one is right for a specific scenario, and how to query them.

Prometheus is an excellent tool for gathering metrics from your application so that you can better understand how it’s behaving. When deciding how to publish metrics, you’ll have 4 types of metrics to choose from.

▶️ Introduction 0:00
▶️ Counters 1:23
▶️ Gauges 3:38
▶️ Histograms 5:43
▶️ Summaries 9:45

📚 Resources 📚

Рекомендации по теме
Комментарии
Автор

Right on point, no stupid music and nothing just pure knowledge

kchaitanya
Автор

Very good video: short, to the point, good examples and nice that you showed the endpoint too, thanks!

PanMaciek
Автор

you made the concept easy to understand, nice work

cmo
Автор

1:23 Counter
3:37 Gauge
5:43 Histogram
9:45 Summary

gijduvon
Автор

Thanks, really liked the code example, the way it looks on the endpoint and example of how to query them

elenapliakas
Автор

Super useful and amazingly clear! Thanks!

ValerioBruno
Автор

really nice informative video, i was very confused earlier. thanks a lot

amanwats
Автор

Finally I learnt it . Official documentation was confusing

ghegde
Автор

I would like to see more explanations like this in my career

SellvaXYZ
Автор

Very precise and to the point video. Its very helpful !
You could probably add java version and gradle version used as well to readme file. Adding those detail may save some debugging efforts for who just want to try this example as is. I had latest version of java i.e. 14 and latest gradle version but it wasn't working with that, there were certain compatibility issues but when downgraded the java version to 11 it worked fine.

gaurav
Автор

Hi that's a great video.
Can you help me to find a solution to absent metrics.. It seems that we keep receiving false alerts on absent metrics. Is there a way where we can stop this false alerts.
1) Is there any other alternative function instead of absent function which does the same work.
2) silencing an alert stops only the absent metric alert or stops entire genuine occurring alert as well..
3) what happens if we reboot the alert manager will the false/in-active alert dissaper?
We use prometheus version 2.10.1

purshoth.k
Автор

Thanks Tom. I am trying to do something similar but with alot more details. I want to see values from sales made in real time.

benjamine.ndugga
Автор

i'm puzzled as to how I should be modelling the kinds of metrics you need for large file content. I basically want Universal Scalability Law, which is centered around analyzing a correctly weighted histogram of (load, throughput).

if a file download starts, you know that the load went up by 1 (arrival counter); but you don't yet know the transfer rate. when the download stops, you know that the load went down by 1 (departure counter), the number of bytes involved, and the duration that request took. from there, you can work out that on arrival the transfer rate that the server had gone up by until departure. you can report that as (start, stop, bytes) ... or equivalently, a timestamped (duration, rate). because the OVERLAPS are preserved, you can calculate an astonishing number of important, and physically meaningful, metrics. in particular, you can measure concurrency, and predict when you can get no more throughput out of it.

i think i'd have to report a timestamped (bytes, duration) tuple to derive a USL, or at least I'd have to report throughput bucketed by load (ie: concurrent requests).

rrrbb
Автор

Thanks for wonderful video. I learnt a lot. 09:41 - What is request_duration_bucket and what is value in the result indicates? Does it mean the sum of request duration of top 5 slower requests in the last 5 minutes is 9.625?

ArunKumar-xwiw
Автор

Is there a video explaining the math behind these metrics with stream data ?

yxd
Автор

Thanks for the video and useful information. Yet, I want to share that your choice of camera angle irritated me. Just a feedback.

wexwexexort
Автор

Hi, How can we query prometheus for any custom COUNTER metrics vale using Prometheus HTTP API (Dont want to use prometheus server UI).

Автор

Nice, can u pls lemme know how to setup Prometheus for Parse-server + MongoDB

kiranpreetkaur
Автор

How to calculate a MAX tps in a day of an application form pormetheus. Could you please some one let me knw.

naveen
Автор

Thanks for the info here. I was having trouble to find example of custom metrics. Only one suggestion: don't read :D

ignazioc