Skip to main content

All Questions

1 vote
1 answer
157 views

prometheus alerts for true expr to be triggered after 4 hours except first time

I am trying to control the prometheus alert for same expr to be triggered only after 4 hours if it already triggered first time. I have appname and operation configured in the configuration with ...
DeadPool's user avatar
0 votes
1 answer
428 views

How can i use arithmetic operations in the description of a Prometheus Alert?

I have an alert in Prometheus that fires if a SSL Certificate expires 29 days from now. The Alert works perfectly fine. The problem is the Value it returns is not in days. The query i use is as follow:...
Lino Kaiser's user avatar
0 votes
0 answers
825 views

Prometheus query alert if average memory/CPU utilization is trending up

​​The actual requirement is if CPU/memory increases​(trending up) continuously due to a memory leak and finally one day container may blast and recreate right due to memory/CPU exhausted ​Before ...
jan's user avatar
  • 31
0 votes
1 answer
769 views

Prometheus alert on metric value increase above threshold

I try to create expr for Prometheus AlertManager to fire alert on metric value when value is above treshold (for example, 100) but alert must be fired ONLY if the value (on next scrape) after 1min ...
Janiis's user avatar
  • 1,556
0 votes
0 answers
532 views

Alertmanager never sends e-mail and never uses my receiver configured with e-mail

I have a docker running an alertmanager. I have severals receiver in my alertmanager.yml which sends alerts to teams, slacks successfully ... but alertmanager doesn't send any e-mail and neither use ...
Raphyyy's user avatar
  • 29
0 votes
1 answer
1k views

value of one alert can be prnted in annotation description of another alert in Alert manager

I have one alert "sc_pcd_g2version" listed in AlertManager. It returns value 25. I am looking for a way to pull this value "25" and print it into the annotation description of ...
ramesh k's user avatar
0 votes
1 answer
2k views

prometheus alert generation in every 1h

I am trying to generate a Prometheus alert where Prometheus will scrape data every 5 mins and will send an alert every 1 hr is the expression value is greater than 0. I am not able to generate an ...
Nitu Kumari's user avatar
3 votes
1 answer
3k views

Set different maximum values for each field in the Bar Gauge | Grafana

I was trying to set up a dashboard so that I could monitor the number of messages within certain queues. The problem is that in order to create a suitable alert I need to set a maximum value for each ...
mattia.marteddu's user avatar
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 ...
Muhammad Munir's user avatar
1 vote
0 answers
236 views

How can I specify which team receives what alerts from opsgenie?

So to be more clear, we have some infrastructure and application related alerts set on Prometheus which is running on cluster A. Also, we have 2 teams one is devops and the other one is app team. I ...
oscar's user avatar
  • 11
1 vote
0 answers
183 views

Prometheus metrics alerting

I have running Prometheus instance which has it's own /metrics endpoint. This /metrics endpoint provides about 700+ metrics. I'd like to monitor these metrics with Prometheus monitoring stack. My ...
Štefan Sedmák's user avatar
0 votes
1 answer
389 views

Prometheus Alert for Multiple Deployments

I need to implement an alert for a prometheus metric that is being exposed by many instances of a given application running on a kubernetes cluster. The alert has to be created in a .yaml file in the ...
LeYAUable's user avatar
  • 1,732
0 votes
0 answers
288 views

Adding the values of 2 similar Counter metrics

I am working on creating alert for an api that have 2 instances with the following metric, and updates the metrics value randomly as seen below: instance - testsat1: some_metric_counter{app="v1-...
Jan Carlo Once's user avatar
0 votes
1 answer
3k views

Alertmanager container can't send SMTP email because the connection refused from web hook

I am using Prometheus/Grafana/Alertmanager docker images for monitoring my service. I created the rules.yml and added it into the prometheus.yml. It worked fine, I saw the ALERTS metrics when the ...
tandathuynh148's user avatar
0 votes
1 answer
586 views

How to tag user in slack channel from prometheus alert

I have alert rule that notify a public channel in a slack. I want to tag people by nicknames that are in the labels of the monitored metrics. My rule of thumb looks something like this: - alert: ...
itasuke's user avatar

15 30 50 per page