Top "Promql" questions

Use the promql tag when your question is related to how to formulate promql query strings related to data for which you are querying in Prometheus.

Get Total requests in a period of time

I need to show, in Grafana, a panel with the number of requests in the period of time selected in …

prometheus promql
How can I group labels in a Prometheus query?

If I have a metric with the following labels: my_metric{group="group a"} 100 my_metric{group="group b"} 100 my_…

prometheus promql
Query label_values not found in Prometheus

In the Grafana documentation, I found that I should be able to query my Prometheus server for all instances delivering …

grafana prometheus promql
Prometheus Query Overall average under a time interval

How can I find the overall average of metrics over time interval ? avg(metric) = overall average value but avg_over_…

prometheus promql
How to use the selected period of time in a query?

I'm using Grafana with Prometheus and I'd like to build a query that depends on the selected period of time …

grafana prometheus promql grafana-templating
How would I graph cpu usage in grafana using Prometheus and the collectd exporter?

New to promql and I'm trying to graph cpu usage over time and I've found the following example getting a …

grafana prometheus collectd promql
Prometheus queries to get CPU and Memory usage in kubernetes pods

I need to get CPU and Memory usage in kubernetes pods with prometheus queries. Can someone plz help?

kubernetes grafana prometheus promql
Monitoring CPU Utilization using Prometheus

I am trying to monitor the cpu utilization of the machine in which Prometheus is installed and running. I have …

cpu-usage prometheus promql
Merge/join two metrics in Prometheus/PromQL

I have two different (but related metrics). metric_1(id="abc",id2="def") metric_2(id="abc",id2="def") My goal ultimately …

prometheus promql
Prometheus Uptime or SLA percentage over sliding window in Grafana

I want to create a Grafana 'singlestat' Panel that shows the Uptime or SLA 'percentage', based on the presence or …

grafana prometheus promql