Add this tag to questions regarding Grafana Alerting.
Questions tagged [grafana-alerts]
201 questions
31
votes
4 answers
Grafana: Template variables are not supported in alert queries
Hi I want to create a simple alert in grafana to check whether there is no data for the last 5 minutes.
But I get an error
Template variables are not supported in alert queries
Well, according to this issue templates are not supporting in grafana…

Daniel Chepenko
- 2,229
- 7
- 30
- 56
13
votes
1 answer
Formatting Slack Notification from Grafana
Getting Alerts in slack from Grafana. But it's not in a good format. Is there any way to customize the notification in slack from Grafana?. I am using Node exporter to export the metrics. The dashboard is downloaded from…

AWS Coder
- 455
- 1
- 8
- 13
8
votes
1 answer
Alerts in K8s for Pod failing
I wanted to create alerts in Grafana for My Kubernetes Clusters.
I have configured Prometheus, Node exporter, Kube-Metrics, Alert Manager in my k8s Cluster.
I wanted to setup Alerting on Unschedulable or Failed Pods.
Cause of unschedulable or…

sayali_bhavsar
- 141
- 1
- 2
- 8
8
votes
0 answers
Grafana 8 - reduced alert on multiple queries
In Grafana 8, there's a possibility to reduce the query and alert on each of the series separately:
Resulting in such alert:
However, in real circumstances, I have 4 different metrics to monitor:
Currently, I have 4 alert rules with 1 query each.…

Helix
- 81
- 3
8
votes
1 answer
Can we create an alert on a singlestat
Can we create an alert on a singlestat? I don't see an "alert tab" to create an alert. Can you please suggest me a way to compare two singlestat from 2 data sources.

naga g
- 121
- 1
- 2
- 7
6
votes
0 answers
GRAFANA ERROR - Failed to evaluate queries and expressions: failed to execute conditions: input data must be a wide series but got type long
When I try to create an alarm with Grafana, I get this error if there is no record that will trigger any alarm within the specified time period. If there is even a single value that will trigger the alarm, the problem does not occur.
Also…

Ogün Birinci
- 598
- 3
- 11
6
votes
0 answers
How to make Grafana send alert messages with values coming from relational database query
I have a grafana dashboard.
And I need to send alerts messages with especific values.
I need an alert message with values returned by query (text, tags).
Time series query:
Alert configuration:
I'm receiving this alert:
As we see, I tried diffent…

Uenderley Montenegro
- 83
- 6
5
votes
1 answer
Grafana message templates
I am currently setting up grafana alerts. How do I customize my message template so my alert email shows The ip address of the server, the state of the server and the node/instance?
Thank you.

vinisha harinarain
- 51
- 2
5
votes
0 answers
Grafana Unified Alerting - frame cannot uniquely be identified by its labels: has duplicate results with labels {}
TLDR: I can't access field_keys or alias when working with multidimensional rules from the new Unified Grafana Alerting System (& InfluxDB)
I ran into a problem with the new unified grafana alerting system. I created a new alert rule and entered a…

Tben
- 51
- 2
5
votes
1 answer
Is it possible to conditionally alert with prometheus based on if another alert is firing or not?
The idea here is that I'm considering alerting on a metric that corroborates a metric that another tool is monitoring. For example: I might have a service doing some task by feeding off a queue and when processed tasks drop to zero an alert needs…

lucidquiet
- 6,124
- 7
- 51
- 88
4
votes
3 answers
Grafana :: Cannot login to http://localhost:3000/login
I freshly installed Grafana and I cannot login at http://localhost:3000/login
All documentation shows that the default user/password should be admin/admin but I'm locked out.
If I go to check into the file C:\Program…

Francesco Mantovani
- 10,216
- 13
- 73
- 113
4
votes
0 answers
Grafana's alert notification templating does not seem to work
I've tried following the steps in this link, but what I see in the alert message is the text itself, i.e. ${Label}, rather than the value of that label. I do not use template variables.
What am I doing wrong?

Tal L
- 342
- 1
- 14
4
votes
1 answer
Grafana alert execution exceeded timeout, why is this happening?
I am using Grafana to set up email alerts. I have all my panels on my dashbboard created, and just turned the alerts on. However, I am now getting the following error. Alert execution exceeded the timeout. This is sending emails for all the servers…

Devine92
- 59
- 1
- 7
4
votes
1 answer
Grafana helm notification configuration
I am trying to install grafana helm chart with opsgenie notification like so
helm install stable/grafana -n grafana --namespace monitoring --set-string notifiers."notifiers\.yaml"="notifiers:
- name: opsgenie-notifier
type: opsgenie
uid:…

Anshu Dutta
- 491
- 2
- 6
- 18
4
votes
1 answer
Custom json body in Grafana alerts
I'm trying to get grafana to automatically raise a ticket in ServiceNow if an alert is fired.
I am looking at using the webhook alert channel for this but the problem is that to be able to do this I need to send a custom body with some hardcoded…

Steve
- 175
- 1
- 3
- 13