Let's say I have two metrics: metric1 with the following series and metric metric2 with the following series: If I run query sum(metric1) by(a) ...
Let's say I have two metrics: metric1 with the following series and metric metric2 with the following series: If I run query sum(metric1) by(a) ...
I have a counter which is growing each time some server logic succeeds. I'm trying to write an expression that will evaluate in percents the counter v ...
I use Prometheus+Grafana and write formulas like: Frankly speaking, I'm tired to repeat the same (mostly the same) labels in the selectors. It wou ...
prometheus gets metric value at 0:00 of the day for example: the metric name is eseal_num_total, Why write like 'eseal_num_total @ (time()-(time()+288 ...
I'm having this problem with grafana to query the number of requests incoming to my service. Using Prometheus-net on my dotnet core Service, I have th ...
I want to query a server's SLI (such as 99.3%). There's an up Prometheus metric whose value is 1 when the server is up, and either 0 or nonexistent wh ...
I would like to visualize the highest response time as well as the lowest response attained by an API in the last x minutes but I am not sure which Pr ...
I try to calculate an in my opinion pretty basic metric: the average request duration of succesful requests. I used the following promQL query floor ...
I am trying to visualize the percentage of requests that resulted in error (minute by minute) via a Grafana gauge but the Gauge is not showing the cor ...
I have a counter metric upgrade_counter which is incremented every time an upgrade happens. I want to show up a chart in grafana which will tell how m ...
I am attempting to query the total number of Nodes in a Kubernetes cluster, grouped by the nodegroup_name. Is there a promql to do this? ...
Using grafana-agent to scrape the metrics from my application. I wonder if it's possible to gather max. value within a histogram by using PromQL. I ha ...
I'm trying to divide the value by 10, if the value is inside an defined range. Source is VictoriaMetrics and Grafana with Prometheus plugin is used to ...
I have the following query which results in the error rate per endpoint and method. Is there any way to create an alert in alertmanager (preferably wi ...
I have multiple server instances that are exporting various metrics. Frequently, some instances are offline, therefore, they don't export anything. I ...
I am trying to determine the Average memory usage of container over a time span Below is the query I have used in OpenShift 4.9 The above query do ...
After digging the doc and the web, maybe you'll be able to help me on this topic. I am using Prometheus as a Data Source in Grafana. We have a first ...
I'm trying to query all prometheus metrics of a pod that I have but I got an error. Query: curl -s GET 'http://127.0.0.1:9090/api/v1/query?query={kub ...
We have our web api service running in OpenShift for the past few months When we deployed this to OpenShift, initially we have given basic request an ...
service_metric is {new_service_id="pgcluster"} We need a new label named "dbname" the value is "<new_service_id>_monitor" label_replace(servic ...