All Questions
Tagged with prometheus-alertmanager grafana-alerts
18
questions
-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 ...
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
134
views
How can we export Elastic search metrics from AWS cloud watch exporter to prometheus
I've been working on exporting AWS Elasticsearch (AWS/ES) metrics to Prometheus using the Prometheus CloudWatch Exporter, following the setup described in the GitHub repository here.
I've successfully ...
0
votes
0
answers
54
views
Grafana value_string not in alert template anymore
I am using Grafana for alert messages based on prometheus datasource conditions.
Since update to Grafana 10 the alerts do not contain the value_string anymore. My understanding is that the ...
1
vote
2
answers
3k
views
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. ...
0
votes
0
answers
421
views
I set the limit to all containers in all namespaces . How to get Prometheus query for memory utilisation in a percentage
i set request and limit for all the containers for all namespaces. Looking for Prometheus query to create Prometheus alert using Grafana if memory utilization is more than 80% (Percentage)
implemented ...
0
votes
1
answer
1k
views
Grafana alerting evation for 24 hrs
Generally, I am creating a cpu alert rule in Grafana for Prometheus data source.
Here I want to get the alert to evaluate for every 24hrs.
Where I have to mention this. For every 24 hrs. I want the ...
0
votes
2
answers
649
views
AWS Managed Prometheus Alert Manager unable to (easily) silence alerts using Grafana
I'm using AWS Managed Prometheus workspaces with Grafana version 9.3
I've used sigv4 and setup Grafana for both the AMP Datasource, and the AMP Alert Manager Data source.
I can see my AMP alert ...
1
vote
0
answers
1k
views
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 ...
0
votes
1
answer
3k
views
Dealing with NoData in Grafana Managed Alerts
I have a expression that has my alerting conditions. If ANY of the conditions returns NoData, it appears to preempt evaluation of the other conditions, even if doing so should prevent evaluation of ...
1
vote
2
answers
368
views
Grafana Contact Point: How to access the data contained in .ValueString in a programmatic way?
The setup
For a Contact Point configured to use Slack
"Text Body" field contains the following:
{{ if eq .Status "firing" }}
Type: {{ .CommonLabels.type }}
{{ range .Alerts }}
...
0
votes
1
answer
541
views
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 ...
1
vote
0
answers
461
views
How to sort alerts from Prometheus correctly in the Grafana panel
We have several alerts from Prometheus, we would like to visualize them in tables on the Grafana dashboard in the alert list. We would like to sort the alerts by severity and later by environment.
So ...
0
votes
0
answers
956
views
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 ...
0
votes
1
answer
1k
views
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 ...