Questions tagged [grafana-alerts]
Add this tag to questions regarding Grafana Alerting.
grafana-alerts
218
questions
1
vote
0
answers
23
views
What's wrong with my alert when a status changes?
I'm new to Grafana, and quickly realizing I may not have a great grasp on how alerts and/or Prometheus data are evaluated, so forgive my ignorance. I've tried to set up an alert, but it never fires. ...
-1
votes
1
answer
24
views
Compare last values of two columns in SQL table to Create Grafana Alerts Condition
I have columns such as 'LTP' = 10, 'lowerbound' = 20, 'Timestamp' in a SQL table. If last value of 'LTP' < 'lowerbound', then alert should get triggered in Grafana.
In Grafana: how to create an ...
-1
votes
0
answers
19
views
Script to Deploy Grafana Dashboard with PromQL and Alert Queries [closed]
I'm looking to build a script that can deploy a Grafana dashboard with PromQL queries and alert queries all in one go. The idea is to automate the deployment process so that I can simply call the ...
-1
votes
0
answers
17
views
Issue with Prometheus Query in Grafana
I'm currently facing an issue with a Prometheus query in Grafana and would appreciate any insights or suggestions.
I have a metric nginx_request_status_code_total that tracks the number of requests ...
-1
votes
0
answers
29
views
Perfomance issues with grafana and influxdb
Telegraf collects data and store it in an influxDB. I use Grafana to visualize the data and for alerts.
Now, there are performance issues, if the influxDB queries execute by grafana to check the alert ...
0
votes
1
answer
23
views
Categorisation of alerts in Prometheus and grafana
I want to do categorisation of alerts in Prometheus and grafana if cpu usage is between 70 and 75 then medium , if cpu usage is between 75 and 80 medium and usage is greater than 80 then critical ...
0
votes
0
answers
19
views
Why do I get no data from the same influx query in alert rule as in the dashboard?
I create a Grafana Visu with the following influx query:
import "math"
from(bucket: "IoT")
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> filter(fn: (r) =>...
0
votes
0
answers
9
views
Issue with Annotation Box Position in Grafana 10.4.3 on MacBook (Chrome Browser)
Upon clicking an annotation, the box related to the annotation is removed from the visible area of the page. This makes it impossible to view the details of the annotation.
I am trying to make the ...
0
votes
0
answers
24
views
Grafana - Filter logs by time for alerting purposes
I'm only new to the world of Grafana after working in Splunk for many years within a devops capacity. I apologise if this question is below standard here, but I'm pretty stuck at the moment.
I want to ...
1
vote
0
answers
66
views
How to print only subject and description in the grafana alert notification with Microsoft Teams using grafana alert notification template
I have created the following notification template in grafana dashboard.
{{ define "test_template" }}
{{ if gt(len .Alerts.Firing) 0 }}
{{ range .Alerts }}
**subject**...
0
votes
0
answers
30
views
Include missing server in Grafana Alert message
I have some servers sending basic metrics to Influxdb every 10 seconds and I have an alert setup in Grafana to be notified whenever a server stops sending them (ie, went down):
from(bucket: "...
0
votes
0
answers
66
views
Send Email to two different contact points in Grafana Alerting from one Alert Rule
I have one alert rule. It is working fine. I have set the configuration in such a way that if there is no data or any error then also it will be in a firing state and send an email to one contact ...
0
votes
1
answer
119
views
Grafana: Can't query for alerts
I have several targets I'm monitoring with Grafana, each target sending metrics to Prometheus remote-write. I also have alert rules configured in Grafana itself. I wanted to have a simple table in ...
0
votes
0
answers
123
views
Distinguish each alert, but they all come out red
I want to mark Critical Alert in red, Warning Alert in orange, and Normal Alert in green. But when all three alerts are sent at the same time, they all come out in red. I want each Slack Alert ...
0
votes
0
answers
97
views
How change new unified Grafana alerting labels keyID to custom legend or the displayed legend name on the panel
I am using new Grafana alerting.
I am facing that when alert is fired, the legend name that i have configured on the query in not taken on alert notification like in the old Grafana alerting.
It will ...