Add this tag to questions regarding Grafana Alerting.
Questions tagged [grafana-alerts]
201 questions
0
votes
1 answer
Promethesus: How do I write a PromQL query to find the drastic increase or decrease by some X% in my graph and stays for 10m, need to raise an alert
I am trying to use rate() query like comparing last 10 min with the previous 50 min like:
(sum by() rate(cmd_get{}[10m]) / (sum by() rate(cmd_get{}[50m] offset 10m))
If I want to check the percentage increase is more than 50% then what is the…

samantha
- 1
0
votes
1 answer
Grafana alert if last point is more than previous points
We are using Grafana and Prometheus for monitoring system metrics. We have been following static rules so far but now want to have some dynamic rules as well.
Our requirement is to raise an alert if the current point is > 110% of max of last 24…

banjara
- 3,800
- 3
- 38
- 61
0
votes
1 answer
Grafana: 'Template variables are not supported in alert queries' using query have variable
I new from Grafana alert. I want to make a alert in grafana OSS
I have try something like this
W_W{location="ABC", device_SN="ABC"}
and it probaly work. But it not is my main idea. I want to make a alert using query have variable like…

Nhat Micls
- 60
- 2
- 10
0
votes
2 answers
Why Grafana does not include images to alerts?
Have separately configured grafana image renderer, installed plugin and now can render any graphs.
But telegram alerts still without images and no any checkbox "Include image"
Grafana v8.4.6
Grafana Image Renderer v3.4.2
What should be configured…

Falseclock
- 144
- 2
- 13
0
votes
1 answer
Grafana: Can't alert on a function metric?
I am sending two regular metrics to Grafana through statsD and plotting them as two series (A and B). The metrics are "total_users" and "unfound_users".
I am then creating a third series (C) which uses this expression:
asPercent(movingAverage(#A,…

Mike Furlender
- 3,869
- 5
- 47
- 75
0
votes
1 answer
Grafana only alert first error because condition state doesn't change
I have a MSSQL query that monitor open transactions and returns me their open time in seconds, when some transaction is open for more than 10s, i send a notification. This works fine, but I'm having a problem is this scenario:
A transaction is open…

Radins
- 1
0
votes
1 answer
Firing many alerts from one rule by metric label
There is a way to fire many alerts from same rule using the metric label?
I have a prometheus counter metric with a label “client”.
How I configure one rule to fire for each client that separately satisfy a fire condition?
My version is 8.4.2
0
votes
0 answers
File or path to database in prometheus where alerts are stored in json or other format that reflects in grafana
What did you do?
I am not sure whether this is right forum to ask this questions but I am looking for file or path to database in prometheus where alerts are stored in json or other format that reflects in grafana. I want to write a scripts to take…

Muhammad Munir
- 1
- 1
0
votes
0 answers
Zabbix - Include hostname in Grafana notification to MS Teams
I am using Grafana with Zabbix plugin. I am able to set the alerts but I can't find the way to include the hostname of the affected VM.
I have attached the current configuration and how the alert in MS Teams looks like. I tried using $host ${host}…

Python_Rookie
- 71
- 11
0
votes
1 answer
Is it possible to trigger an Ansible Tower playbook using Grafana?
This is more a question for gaining knowledge and choosing if we are heading to the correct solution.
I have my application being monitored through Grafana and Prometheus.
The self healing is currently being worked with by using Ansbile Tower. All…

anish anil
- 2,299
- 7
- 21
- 41
0
votes
1 answer
Grafana Alert/AzureMonitor: Getting execution error while creating alert rules for graph in Grafana
Description:
I'm trying to create alert rule for graph(old) in grafana, but getting execution error.
Grafana Configuration:
Data Sources: Azure Monitor
Dashboard: AKS Monitor Container
Grafana hosted in Azure as Docker Container
Notification…

chandan prasad
- 111
- 1
- 10
0
votes
0 answers
How to send Grafana reset email from Grafana docker image
I have created a Dockerfile and created a image with grafana. I have up the docker container.
This is my Dockerfile
FROM grafana/grafana
ENV GF_AUTH_DISABLE_LOGIN_FORM "false"
ENV GF_AUTH_ANONYMOUS_ENABLED "false"
ENV GF_AUTH_ANONYMOUS_ORG_ROLE…

Hans
- 308
- 7
- 20
0
votes
0 answers
grafana alert showing {} in output, from where we get this and is there anyway to update it
Below image shows output {} , why we get this and how to update it?

gaurav sharma
- 91
- 1
- 10
0
votes
1 answer
Alert that will check every specific day of the month
I have multiple Grafana dashboards with alerts defined and the alert query is checked every, for example, 24h. This is not a problem and everything is working well.
I was wondering if there is any way to create an alert that will check every X day…

Ricardo Mota
- 1,194
- 2
- 12
- 25
0
votes
1 answer
How to send multiple values in a single alert notification email in Grafana?
I am using InfluxDb. I create a table called weather with few columns like temp, humidity, city, state, country, zip.
I set an alert notification for temperature. When value of temp column of any city touch 40.0, Grafana sends email notification to…

santanu de
- 1
- 1