How to build a PromQL (Prometheus Query Language)

  Рет қаралды 41,770

Is it Observable

Is it Observable

2 жыл бұрын

This episode will explain how to build a Promql.
What you are going to learn out of this episode.
- Introduction on the various data types of Prometheus
- The various format of data types to store metrics in Prometheus
- The various way to filter data
- The various operators
- A small tutorial on various queries
Links:
- Tutorial: github.com/isItObservable/Epi...
- Blogpost : isitobservable.io/observabili...
Timestamps
00:19 - Introduction
02:39 - Type of Prometheus metric
09:04 - Prometheus data type
23:36 - Operators
25:53 - Tutorial

Пікірлер: 60
@cramhead
@cramhead Жыл бұрын
Your video was way more approachable than the PromQL docs. Thanks so much for sharing your knowledge and insights.
@isitobservable
@isitobservable Жыл бұрын
Thanks for you feedback
@guilhermehubner1991
@guilhermehubner1991 2 жыл бұрын
Really nice video!! I am finally feeling more confident about promQL! Keep the nice job!
@isitobservable
@isitobservable 2 жыл бұрын
Glad I could help!
@rshahdelhi
@rshahdelhi 19 күн бұрын
Very nice tutorial
@vynguyenhoang5604
@vynguyenhoang5604 10 ай бұрын
Thank you for a video with a very detail explanation!
@GustavoRodrigues-le3zw
@GustavoRodrigues-le3zw 2 жыл бұрын
Incredible content quality! You will grow a lot! Thanks for the content!!
@isitobservable
@isitobservable 2 жыл бұрын
Thanks for your feedback. Let me know if there are any topics that i should cover.
@alanmangroo3656
@alanmangroo3656 8 ай бұрын
Great video, very well explained.
@sunnynew100
@sunnynew100 2 жыл бұрын
Very nice video. Looking forward to more such content
@isitobservable
@isitobservable 2 жыл бұрын
Thank you, I will produce more content. let me know if there are topics that could help ;-)
@riskofrains
@riskofrains 4 ай бұрын
Thanks for this lesson!
@debasisnath9860
@debasisnath9860 Жыл бұрын
Great! Perfect description of concepts ✨✨✨✨✨✨
@isitobservable
@isitobservable Жыл бұрын
Thank you! 😃
@rajeevkumar-pc4ne
@rajeevkumar-pc4ne Жыл бұрын
it is ice breaker video. thanka lot sir..
@Trojaner
@Trojaner 2 жыл бұрын
Thank you, helped me a lot learning Prometheus
@isitobservable
@isitobservable 2 жыл бұрын
Glad I could help!
@um4r_arf
@um4r_arf 3 ай бұрын
thanks after many vids i found a useful one
@annapureddyravi4054
@annapureddyravi4054 2 жыл бұрын
Excellent demo..thank you so much
@isitobservable
@isitobservable 2 жыл бұрын
Glad you liked it!
@stephaniesilva1939
@stephaniesilva1939 Жыл бұрын
Thank you so much! I love your contents!
@isitobservable
@isitobservable Жыл бұрын
Glad you like them!
@mauridocarmo7167
@mauridocarmo7167 Жыл бұрын
Awesome video. I've learned a lot.
@isitobservable
@isitobservable Жыл бұрын
Glad you enjoyed it!
@vg3348
@vg3348 2 жыл бұрын
thank you for the video. very informative.
@isitobservable
@isitobservable 2 жыл бұрын
Glad it was helpful!
@egidfertal8240
@egidfertal8240 Жыл бұрын
thank you very much :) this video was were usefull for me :)
@isitobservable
@isitobservable Жыл бұрын
Glad it helped!
@sumanreddyk7284
@sumanreddyk7284 Жыл бұрын
Excellent Work! I was searching for this level of PromQL information on KZbin. When you get a chance, could you share your knowledge on grafana dashboard creation using json.
@isitobservable
@isitobservable Жыл бұрын
Thanks for you feedback.I'm adding this topic in my backlog.
@lunyi2004
@lunyi2004 2 жыл бұрын
thanks, your video help me a lot.
@isitobservable
@isitobservable 2 жыл бұрын
Glad to hear that!
@eyuandedenchennel7681
@eyuandedenchennel7681 Жыл бұрын
Awesome vedio thanks a lot!!
@isitobservable
@isitobservable Жыл бұрын
Glad you liked it!
@sunhsiang6644
@sunhsiang6644 Жыл бұрын
Thanks
@jacoduplessis8167
@jacoduplessis8167 Жыл бұрын
Great video thanks
@isitobservable
@isitobservable Жыл бұрын
Glad you enjoyed it
@vissu403
@vissu403 2 жыл бұрын
Really Nice video
@isitobservable
@isitobservable 2 жыл бұрын
Thanks
@tshepo2japhta28
@tshepo2japhta28 2 жыл бұрын
❤Thanks man
@isitobservable
@isitobservable 2 жыл бұрын
Welcome 😊. Let me know if you should cover more topics related to grafana .
@Faqarina
@Faqarina 11 ай бұрын
the random explosion lol
@Chrizz604
@Chrizz604 2 жыл бұрын
Is it not possible to run "rate" on the response of a "delta"? We collect all the metrics in a summery value so I do have to use "delta" so I can see the change of the value, however I don't really know how I can run multiple functions on it.. e.g "rate(delta(api_dispatches{}[25s][1m]))" does not return anything
@isitobservable
@isitobservable Жыл бұрын
Hi Chrizz, Very good questions. I could use several functions but in your case rate( delta i'm not sure it would work. rate only works with counters. delta is not returning counters. i guess you would need to do delta ( rate (...) instead.
@ziaurrehman4738
@ziaurrehman4738 2 жыл бұрын
Did you create blog post to capture all these concepts and examples?
@isitobservable
@isitobservable 2 жыл бұрын
Hi , Here is the blog version on this episode : isitobservable.io/observability/prometheus/how-to-build-a-promql-prometheus-query-language
@olivierboisse1678
@olivierboisse1678 Жыл бұрын
20:53 Why is it forbidden to label filter with an empty string ? I tried prometheus_http_requests_total{unknownLabel=""} and it seems to be working
@isitobservable
@isitobservable Жыл бұрын
Hi Olivier, it was initially a recommendation from the community. It seems that it is now tolerated...but you will need to filter out your metrics having empty label , or set a default value on your exporter.
@z1lv1n4s
@z1lv1n4s Жыл бұрын
Love your video. One note though - check how gauge is pronounced ;)
@yotammedini509
@yotammedini509 2 жыл бұрын
Nice. It would be helpful to see how such labels can pushed via Python client calling prometheus_client.push_to_gateway(...)
@isitobservable
@isitobservable 2 жыл бұрын
Hi, Are your trying the find the impact of using a large number of labels within a metric? If so we could try to design a "load test" doing this and measure the impact ( in terms of memory).
@u.hemanthkumargowd826
@u.hemanthkumargowd826 2 жыл бұрын
can you show me hot to do run prometheus query using terminal
@isitobservable
@isitobservable 2 жыл бұрын
First of all thanks for the idea, i will try to create a short video on this. FYI there is a small project that will help you achieve this : github.com/nalbury/promql-cli
@haralc
@haralc Жыл бұрын
The content I'm expecting on a video with a title starting with "How to ..." is with computer screen and step by step tutorial. Not a commentary style like those KZbinrs who cannot do benchmark on the new hardware they were sent.
@isitobservable
@isitobservable Жыл бұрын
Hi , Thanks for your feedback. I'm always trying to provide tutorial with the episode. Let me know how i could improve the tutorial. Thx
@haralc
@haralc Жыл бұрын
I don't understand PromQL. After watching this video, I still don't understand PromQL ...
@isitobservable
@isitobservable Жыл бұрын
Sorry to hear that. what are you trying to achieve ?
@garypaduana62
@garypaduana62 Ай бұрын
I tried, but I just can't follow along with the accent. Closed captioning was getting a lot of it wrong too. Sorry
@josephmbimbi
@josephmbimbi 2 жыл бұрын
Tbh, from your explanations alone, i had a hard time understanding the difference between instant vector, range vector, the rate function. As there are lots of positive comments and review, i guess some ways of explaning are not suitable for everyone.
@isitobservable
@isitobservable 2 жыл бұрын
Thanks for your feedback. i will work soon on the blog version of the episodes. so i will try to improve the explanation.
PromQL (Prometheus Query Language)
19:00
Pavan Elthepu
Рет қаралды 3,7 М.
Understanding Counter Rates and Increases in PromQL | Reset Handling, Extrapolation, Edge Cases
10:53
Prometheus Monitoring with Julius | PromLabs
Рет қаралды 11 М.
The World's Fastest Cleaners
00:35
MrBeast
Рет қаралды 175 МЛН
[Vowel]물고기는 물에서 살아야 해🐟🤣Fish have to live in the water #funny
00:53
OMG 😨 Era o tênis dela 🤬
00:19
Polar em português
Рет қаралды 3,8 МЛН
How to collect metrics in K8s
22:40
Is it Observable
Рет қаралды 7 М.
How Prometheus Monitoring works | Prometheus Architecture explained
21:31
TechWorld with Nana
Рет қаралды 987 М.
GrafanaCONline: Prometheus rate queries in Grafana
49:54
Grafana
Рет қаралды 31 М.
The 4 Types Of Prometheus Metrics
14:15
Tom Gregory Tech
Рет қаралды 58 М.
PromCon EU 2019: PromQL for Mere Mortals
27:05
Prometheus Monitoring
Рет қаралды 23 М.
Don't Make These 6 Prometheus Monitoring Mistakes | Prometheus Best Practices & Pitfalls
10:43
Prometheus Monitoring with Julius | PromLabs
Рет қаралды 10 М.
Prometheus Custom Metrics
14:02
Pavan Elthepu
Рет қаралды 2,8 М.
Prometheus + Grafana. Настраиваем 4 golden signals
1:27:27
Save Work Efficiently on Your Computer 18/05/2024
0:51
UNIQUE PHOTO EDITING
Рет қаралды 308 М.
Why spend $10.000 on a flashlight when these are $200🗿
0:12
NIGHTOPERATOR
Рет қаралды 18 МЛН
😱НОУТБУК СОСЕДКИ😱
0:30
OMG DEN
Рет қаралды 1,6 МЛН
Samsung or iPhone
0:19
rishton vines😇
Рет қаралды 7 МЛН
Переходник для IPhone • 181649538                         Делюсь обзорами в профиле @lykofandrei
0:15
IPad Pro fix screen
1:01
Tamar DB (mt)
Рет қаралды 3,4 МЛН
С Какой Высоты Разобьётся NOKIA3310 ?!😳
0:43