Add this tag to questions regarding Grafana Alerting.
Questions tagged [grafana-alerts]
201 questions
1
vote
1 answer
Grafana Variable based on other variables
I have a Grafana dashboard panel, it does have a variable called host, host can be domain1.com, domain2.com, domain3.com, domain4.com. I need another custom variable (var2) that be somehow connected to the host, for instance when user choose…

SMA
- 157
- 1
- 1
- 11
1
vote
1 answer
How to pass notification template from values.yaml for Grafana Helm chart
have been trying to create a notification template from values but it doesn't seem to be working.
Code:
alerting:
rules.yaml:
apiVersion: 1
templates:
- orgID: 1
name: Slack Template
template: |
…

Sai Vamsi
- 111
- 3
- 19
1
vote
0 answers
Pausing Grafana alerting rules from Mobile app (React Native) through Grafana API
I'm trying to use the grafana API to pause and unpause grafana alerts via a mobile app in React-Native and Expo. following the documentation, with postman, the states are changed correctly, but when I make the app calls I can unpause the alerts but…

Yoslandy Mesa
- 11
- 3
1
vote
1 answer
How to solve renderer failed when use Grafana image renderer
I install Grafana following from
https://grafana.com/grafana/plugins/grafana-image-renderer/
and try to convert PNG from panel in Dashboard but i got this
enter image description here
custom-config-grafana-1 | logger=rendering…

Nekokukki
- 15
- 3
1
vote
0 answers
loki added to grafana as data source, unable to see all namespaces and pods
i have installed grafana and loki in my kubernetes cluster, in grafana dashboard i am unable to see all the namespaces and pods. can any one guide me to reslove this issue , added loki as data source in grafana. Thank you.
showing only few…

my cloud
- 11
- 3
1
vote
1 answer
Dynamic Recipient using Grafana Slack Contact Point
I have a Grafana question. I have multiple alerts set up based on different services.
Each service has its own dedicated slack channel. I want an alert to trigger a slack notification and dynamically have the recipient (slack channel) to be chosen.…

fixnode
- 97
- 3
- 8
- 32
1
vote
0 answers
Grafana Loki, AlertManager - unable to read rule dir, open /tmp/loki/rules/fake: no such file or directory
I've deployed promtail, Grafana, Loki and AlertManager using Helm charts on k3d cluster on my local machine. I would like to have some rules in Loki such that if something will happen, AlertManager should be informed. Now I tried only with some…

Brian Brown
- 3,873
- 16
- 48
- 79
1
vote
1 answer
Provisioned Grafana Alerts send alerts when "no_data_state": "OK" is configured
Grafana version 9.2.3
I've created alerts via the Grafana UI and set the error and noData states as OK, meaning don't send any alerts if the alert is in an "error" or "no data" state.
These alerts work perfectly and remain in a state of "OK" or "OK…

Tom Simpson
- 13
- 3
1
vote
0 answers
Push alert from alert manager to Grafana
I want to ask if there is a way how to push alerts from prometheus alert manager into the grafana which runs in a different network. I need to send alert via an API and show it in the Grafana. Does Grafana support such feature? All ports except http…

JurajRabcan
- 133
- 1
- 11
1
vote
0 answers
To fetch the error when any of the metrics is down in prometheus and grafana
We have configured the metrics for application in Prometheus and grafana I am getting alerts intermittently and that too for shorter duration in which I am unable to capture the Error which caused the metrics to go down. In the meanwhile if I check…

Rohankumar
- 11
- 2
1
vote
1 answer
Create Grafana Alert for k8s cluster pods CPU usage
I have already tried finding resources and articles online for how to create alerts using Grafana 8 UI about the CPU and/or memory usage of my kubernetes cluster pods, but I couldn't find anything, neither on youtube, google, discord, stackoverflow…

João Casarin
- 674
- 2
- 9
- 27
1
vote
0 answers
Setup Grafana alert on Loki's errors log
I have setup Grafana and loki (2.6.1 / 9.0), and I'd like to setup an alert whenever logs have Error as severity.
I have this query:
count (rate({namespace="api-dev"} |= `"severity":"Error"` [5m]))
Which gives me what I want:
However, even few…

GlinesMome
- 1,549
- 1
- 22
- 35
1
vote
0 answers
How to use variables in alerts message while creating alert in Grafana(v 8.5.6) using Azure Monitor as a datasource?
I want to create an alert in Grafana (v 8.5.6)and I am using AzureMonitor as a datasource. While creating the alert I am not able to use Resourcegroup, Resource name or Metric Name in the message field of the alert. How to get these values populated…

Parag Gupta
- 143
- 1
- 6
1
vote
1 answer
Unable to set Disk usage alert on grafana
In multiple VM machine (15+) I use TIG framework (Telegraf, Influxdb and grafana) to monitoring system stats like (CPU, RAM, Disk etc)
So data is exported via telegraf and stored in InfluxDB which is further use as datasource in Grafana.
The problem…

adg
- 99
- 6
1
vote
0 answers
grafana alert dashboard UID
when I'm trying to create the alert and add details I see that it has a dropdown for Dasboard UID, which I assume will render a link in the notification to open a specific dashboard, however I have no idea what to put there.
I'm getting the…

DmitrySemenov
- 9,204
- 15
- 76
- 121