Category "grafana"

Grafana alert when change between two data points is high

I have a Grafana graph with data coming in from Prometheus. I'm trying to get an alert set up so that if the change over one minute (or so, I'm flexible) is ov

count k8s cluster cpu/memory usage with prometheus

I want to count k8s cluster cpu/memory usage (not k8s pod usage) with prometheus, so that i can show in grafana. I use sum (container_memory_usage_bytes{id="/"

Grafana group series

I have postgres table with three variables: datetime, robot_id and energy_percent. Now at chart I have energy_percent and robot_id. How to group records from th

Prometheus - exclude 0 values from query result

I'm displaying Prometheus query on a Grafana table. That's the query (Counter metric): sum(increase(check_fail{app="monitor"}[20m])) by (reason) The result is

How to use Grafana dashboard variable in another variables regex?

I created a Grafana dashboard variable and tried to filter the values via the regex field. This works for static regex definition. I would now like to use anot

Grafana : unable to customize webhook with templates

I'm using Grafana v.8.3.4, with the unified alerting system enabled. I want to send a simple webhook-based alert. The alert fired correctly, but the body of the

Kubernetes node-exporter container is not working it shows this error message

Error: failed to start container "node-exporter": Error response from daemon: path /sys is mounted on /sys but it is not a shared or slave mount shows that mes

Grafana with Prometheus Node Export

I set up Prometheus + Node Exporter + Grafana with the following instructions: klick Node Exporter Config Prometheus So, everything worked quite well. In Promet

Azure policies(gatekeeper) monitoring on AKS via Prometheus and Grafana

I have enabled azure policies via terraform and applied to AKS cluster. I can see pods are deployed, up and running. I applied in-built initiative here too with

Grafana chained variables in repeating rows

I have a dashboard that uses two variables: $clients is a static list and $running_sessions is the result of a MySql query that uses $clients (something like s

Prometheus query in Grafana with query variable

My Grafana panel query is sum(kube_pod_container_resource_limits_cpu_cores{node=~"$workers"}) / sum(kube_node_status_allocatable_cpu_cores{node=~"$workers"}) T

Clear old data in Grafana

I'm using Prometheus and Grafana for monitoring the servers. Grafana data were stored in /home/user/data folder. This folder occupied the majority of the file

Match by exported instance in Grafana and Prometheus

I'm working in Grafana and Prometheus and I have Pushgateway exporting some stats for me. In Grafana, I am trying to display these results per machine. My jobs

Loki Ruler not sending alerts to alert Manager

I have loki + grafana + prometheus running in EKS using official helm charts. I want to send alerts based on error log messages and for that i'm trying to use t

How to use like in MySQL query in Grafana?

I am working in grafana with MySQL. I have a template variable and it has multiple values and I want to use that template variable with MySQL query using 'like'

How to color table in Grafana based on individual column values?

I have a grafana table which shows max, min, avg and std.dev. When I set the color scheme, the color map range is based on whole table values. However, I want t

How to get the 95th percentile of an average in Prometheus?

So I'm aware of some percentile functions in PromQL like histogram_quantile which is used in a case like this: // Over the past 5 minutes, what's the maximum ht

How to sum prometheus counters when k8s pods restart

I'm running Prometheus in a kubernetes cluster. All is running find and my UI pods are counting visitors. Please ignore the title, what you see here is the