Questions tagged [grafana-alerts]

Add this tag to questions regarding Grafana Alerting.

Grafana alerting documentation

201 questions
4
votes
1 answer

I want to set alert on graph in the Grafana but I am not able to set

I want to set an alert on a graph in Grafana, but I am not able to set. If the used value in graph exceeds above 27 TiB then it should create an alert. Also, I want slack notification of grafana graph after every four or six hours. But I am not able…
user10694420
3
votes
0 answers

Alert in azure topic grafana doesboard do not working

I am using grafana with a plugin named Azure monitor in a panel that get information about Azure topic. https://grafana.com/docs/grafana/latest/datasources/azure-monitor/ In my panel I see the actives messages and the messages in the dead letter…
Pikachuuuu
  • 95
  • 7
3
votes
0 answers

How can we merge queries in Grafana Alerting?

I am using Grafana 9.4 for dashboarding and alerting. I would like to have an alert based on a Prometheus but filter its results against a list of valid values from a SQL query. I have the equivalent in a panel in my dashboard with: Query A: A…
Marcel Gosselin
  • 4,610
  • 2
  • 31
  • 54
3
votes
1 answer

How do I get metric names in Grafana's message template?

I'm setting up Grafana v8.3.4 alerts. If I use a template like the following {{ define "test_message" }} {{ range .Alerts.Firing }} {{ print .ValueString }} {{ end }} {{ end }} And test the e-mail notification using this template and the…
EduardoCMB
  • 392
  • 2
  • 17
3
votes
2 answers

Grafana template issue

I am monitoring 30 servers with Grafana using Prometheus. But I use template for this and I cannot use alert in the template. What would you recommend for this? The Monitor system does not work for me without the alert system. I would like to use…
3
votes
2 answers

SMTP not configured, check your grafana.ini config file's [smtp] section

For notification, I added Notification Channel in Grafana with Type as Email and then click on 'Send Test' button but it gave - SMTP not configured, check your grafana.ini config file's [smtp] section I have installed Grafana as a docker container…
Alpha
  • 13,320
  • 27
  • 96
  • 163
3
votes
0 answers

Grafana Alert "connect: connection refused"

I can create a dashboard in grafana but when trying to create an alert, a connection refused error appears. Grafana can query influxdb as the dashboard can show results. What am I doing wrong?
Boboyum
  • 708
  • 3
  • 11
3
votes
3 answers

Grafana Alerting when there is no change in data for x minutes

Been rolling around the web and forums, cannot find a resource on this. What I am to achieve is create an alert for when there is no change in data for a period of time. We are monitoring openfiles for our webserver/s so this number fluctuates…
Julian Kriel
  • 57
  • 1
  • 6
2
votes
1 answer

Can we add a dynamic label to a Grafana alert?

I am using Grafana 9.4 for dashboarding and alerting. I currently have an alert set up with: Query A: a Prometheus metric with labels like {tenant="tenant1", ...} and legend set to {{tenant}}. Expression B (the alert…
Marcel Gosselin
  • 4,610
  • 2
  • 31
  • 54
2
votes
0 answers

Grafana alert is created with new alerting provisioning api, but not actually working

I am creating an alert for grafana using this endpoint POST /api/v1/provisioning/alert-rules with the bellow request body. The created alert is shown in the UI, but on the health column it's showing either an error, with the message failed to…
2
votes
1 answer

Grafana error - parse error : input size too long (5491 > 5120)

I see the following error in our Grafana dashboard, which uses LOKI as a data source. Sometimes it shows the data, but other times it throws this error. parse error : input size too long (XXX > 5120) When I run the same query in Explorer, it works.…
2
votes
0 answers

Grafana Alerts when working with CloudWatch Logs Insights

The following is how my query looks like ( Basically tracking 5xx errors ) : Now, I would ideally want an alert whenever a “ERROR …” is logged by my system (5xx error ). This is my alert condition : Alerts work fine but I would want more…
Kancha
  • 409
  • 1
  • 3
  • 11
2
votes
1 answer

How can I dynamically pass value from my alert condition/Query condition to my notification?

I am using Grafana v8.3.4 with influxDB & I want to pass dynamic value to my notification for the query/alert condition. I couldn’t find any documentation for this. Can anyone suggest? This is what I have used: It alerts if the last() value is…
2
votes
1 answer

Grafana not supporting Alert other than TimeSeries Visualization

I want to achieve an alert for my variable count of services(ex:227) of gauge-based visualization. But in the panel of the Dashboard of Grafana, I cannot see the Alert tab, but when I select Timeseries as Visualization, I can see the Alert tab.…
2
votes
0 answers

Grafana Renderer for Panels

I have a Grafana setup and running locally on my machine. I wanted to try Get list of all dahboards and panels inside them. Use grafana-image-renderer plugin to get the PNG images of all those panels. Get the JSON data used to render those…
vp310
  • 300
  • 1
  • 9
1
2
3
13 14