Prometheus : PromQL Example Queries
Channel:
Subscribers:
24,900
Published on ● Video Link: https://www.youtube.com/watch?v=AvR5bIDRgbg
Documentation : https://sbcode.net/prometheus/example-queries/
Now that we have a few scape targets, it is time to delve into queries.
The query language used in Prometheus is called PromQL (Prometheus Query Language).
The data can either be viewed as a gfraph, as tabled data, or in external systems such as Grafana, Zabbix and others.
Example,
`scrape_duration_seconds`
This shows multiple time series results. 1 for each target,
we can filter for 1 target by including either the `instance`, or `job` labels
`scrape_duration_seconds{instance="localhost:9100"}`
See video for more examples of using regex and PromQL functions.
Other Videos By SBCODE
2020-10-24 | CMY Cube (Cheap Copy) |
2020-10-02 | Send SMS using a SIM800c Module |
2020-10-02 | Receive SMS using a SIM800c Module |
2020-09-29 | Connect SIM800C SMS Module to a Raspberry PI |
2020-09-27 | Prometheus : Adding the Alert Manger UI |
2020-09-26 | Prometheus : Configure Alert Manager SMTP Settings |
2020-09-25 | Prometheus : Install Send Only SMTP Server |
2020-09-25 | Prometheus : Install Alertmanager |
2020-09-24 | Prometheus : Alerting Rules |
2020-09-24 | Prometheus : Recording Rules |
2020-09-23 | Prometheus : PromQL Example Queries |
2020-09-22 | Prometheus : Deleting a Time Series |
2020-09-22 | Prometheus : Install an External Node Exporter |
2020-09-21 | Prometheus : Scrape Target Basics |
2020-09-20 | Prometheus : Add Basic Authentication to the User Interface |
2020-09-20 | Prometheus : Add SSL to Nginx Reverse Proxy |
2020-09-20 | Prometheus : Setup Reverse Proxy with Nginx |
2020-09-20 | Prometheus : Install |
2020-09-19 | Dynamic Graphs in Grafana 6 |
2020-09-19 | Grafana : Dynamic Singlestats |
2020-09-19 | Dynamic Tables from Dashboard Variables in Grafana 6 |
Tags:
prometheus
prometheus course
prometheus tutorial
prometheus engineer
prometheus promql
promql examples
promql queries