Add this tag to questions regarding Grafana Alerting.
Questions tagged [grafana-alerts]
201 questions
2
votes
0 answers
Grafana alerts - Error:failed to query data: context deadline exceeded
I am fairly new to grafana. I am currently running a dockerized version of Grafana v8.3.1.
I have set up three alerts, all pointing to the same Elasticsearch data source. When I navigate to the “Alert rules” section and expand my alerts folder, I…
2
votes
1 answer
How to create no data alerts in grafana multidimensional alerts
I am creating a multidimensional alert for a group of windows hosts. The goal is to alert if the hosts do not report anymore(no data alert).
Based on this documentation, i can filter for every host the metrics, but when setting the alert condition,…

Mr 123
- 171
- 4
- 12
2
votes
1 answer
Can grafana include the current timestamp in an alert notification's message?
I’ve a request to include the time when an alert was raised in the message body of the email for that alert.
I’ve checked out Create Alerts and Alert notification templating and it looks like it might be possible, but I can’t find any reference to…

Daniel Bray
- 21
- 2
2
votes
0 answers
How to create separate alert for each time series in a group-by query in Prometheus alert-manager?
I am using Prometheus alertmanager to set alerts on some of the metrics. One of the metrics is using group by query and then the alert is set on that generic query.
Example: The metric on Grafana dashboard to calculate the time since last successful…

exAres
- 4,806
- 16
- 53
- 95
2
votes
1 answer
Disable View, Share and More menu from graph in Grafana
How to disable the View, Share and More menu from the Grafana [Panel Menu --> View, Share, More–Export CSV, JSON etc;]. I don't want to show these options to user.

Harika
- 21
- 3
2
votes
1 answer
Grafana alert / value equals zero
I have the prometheus query = sum by (job) (rate(http_requests_total[5m]))
Could you tell how can I create alert in grafana when the value is equal zero (longer than given time)
I cannot find proper function

user3740179
- 133
- 10
2
votes
0 answers
Grafana showing 'no data found' only for few Relative time range filter
Hi I am working on Grafana V7.0.0 with Postgresql as DB, where data is displaying correctly when I select Today/This year(Filters with months/day/year) etc.. But when I select data filter as
Last 6 hours/ last 12 hours( FILTERS WITH TIME) showing…

Udupa
- 21
- 2
2
votes
1 answer
How to reference variables in a message body of an e-mail alert in grafana?
I would like to reference predefined variables, or those defined in templating section of dashboard, to customize alert message, but nothing I tried seems to work. Is it supported at all?

hdjur_jcv
- 686
- 1
- 12
- 30
2
votes
3 answers
I am not able to set Alert for grafana graph
I have set alerts for Disk usage and now I want set alerts for Memory usage but I am not able to set it is giving error FAILED TO TEST RULE. Axes B is used and Axes C is Total.
user10694420
1
vote
0 answers
How to add node_filesystem_avail_bytes metric value to description grafana?
I'm having a problem. When I set up alert rules in prometheus, I had a disk space monitoring rule that showed me the percentage of remaining space and humanize the value of the node_filesystem_avail_bytes metric.
Now my rule looks like this:
-…

Stanislav_iz
- 21
- 1
1
vote
1 answer
Detecting Only Increasing Prometheus Metrics Over A Given Interval
Recently, I've experienced quite a few false positives in an existing Prometheus-based alert that has been difficult to nail down (that seemingly should be simple), so I thought I'd inquire to see if there was something obviously wrong with the…

Rion Williams
- 74,820
- 37
- 200
- 327
1
vote
0 answers
Grafana: Aggregating query results into alert annotations
Grafana newbie here, I've been messing with this problem and couldn't come up with any solutions. (Sorry my reputation is not high enough to post images...)
What I want to acheive
I'm trying to implement a high CPU usage alert, as well as providing…

Johnny Yeng
- 13
- 1
- 5
1
vote
1 answer
Alert on increase in slow increasing prometheus counter not working due to resetarts
We have a counter for some operation, say some_counter. This counter is increased each time the operation is performed for each customer (customer_id is the label). And the operation is usually performed once per day.
Further, I want to create an…

Pramod Kalipatnapu
- 41
- 3
1
vote
1 answer
Setting up Daily Grafana Loki Alert, If no log seen by 4:25 AM, each day
I'm trying to trigger an alert using Grafana Loki. If no log seen by 5AM, each day need to trigger an alert.
Here is the query I came up with. I dont think its correct as the offset 16h25m: shifts the time range by 16 hours and 25…

Avin Varghese
- 4,340
- 1
- 22
- 31
1
vote
2 answers
How to list prometheus alerts in a dashboard in grafana?
I have a stack where I create alerts in Prometheus. These alerts are listed under Grafana > Alert > Alert Rules.
I wanted to create a dashboard where I could view the alerts in a simple way. Like normal and firing status.

Pablo Marques
- 39
- 7