Skip to main content

Questions tagged [prometheus-alertmanager]

The Alertmanager handles alerts sent by client applications such as the Prometheus server. It takes care of deduplicating, grouping, and routing them to the correct receiver integration such as email, PagerDuty, or OpsGenie. It also takes care of silencing and inhibition of alerts.

prometheus-alertmanager
19 votes
3 answers
100k views

Multiple Targets on prometheus

I've configured prometheus on Centos, version details are follows. prometheus-2.5.0.linux-386 I've added two targets on the prometheus.yml configuration file, all the servers node exporters are ...
user avatar
19 votes
2 answers
34k views

scrape interval and evaluation interval in prometheus

My scrape interval and evaluation interval are way off from each other as whown below (15s vs 4m). When I feed metrics to the endpoint, I find that the rules are evaluated every 4m which is expected. ...
TheMonkWhoSoldHisCode's user avatar
18 votes
1 answer
16k views

Prometheus Alert Manager: How do I prevent grouping in notifications

I'm trying to setup Alert Manager in a simple setup where it would send one Slack notification for each notification in receives. I've hoped to disable grouping by removing the group_by configuration....
Yehuda Adler's user avatar
17 votes
4 answers
42k views

How to silence Prometheus Alertmanager using config files?

I'm using the official stable/prometheus-operator chart do deploy Prometheus with helm. It's working good so far, except for the annoying CPUThrottlingHigh alert that is firing for many pods (...
Eduardo Baitello's user avatar
16 votes
3 answers
26k views

How to set Prometheus Alertmanager external URL via configuration

I'm using a vanilla Docker container to start an Alertmanager. As far as I know, I cannot provide the external URL via parameter in this case, so I have to find another way. Is it possible to set the ...
eventhorizon's user avatar
  • 3,247
15 votes
4 answers
13k views

How to send alert for every error in my logs using Promtail / Loki - AlertManager?

I'm using Promtail + Loki to collect my logs and I can't figure how can I alert for every error in my log files. I'm also using Prometheus, Alertmanager and Grafana. I've seen some people have managed ...
EnTm's user avatar
  • 173
13 votes
5 answers
30k views

Prometheus alertmanager send notifications to multiple slack channel

We have two different teams working on different applications.I would like send alert notifications to different slack channels via using same alerts expressions. I found some examples but not ...
semural's user avatar
  • 4,321
13 votes
3 answers
17k views

how to install latest version of prometheus/promtool in ubuntu?

I downloaded my prometheus version is 2.3.2 wget https://github.com/prometheus/prometheus/releases/download/v2.3.2/prometheus-2.3.2.linux-amd64.tar.gz untared and prometheus already running as ...
anand babu's user avatar
12 votes
2 answers
17k views

Prometheus query and case sensitivity

I have one query where I am trying to join two metrics on a label. K_Status_Value == 5 and ON(macAddr) state_details{live="True"} The label macAddr is present in both the metrics. The value of the ...
Arnav Bose's user avatar
12 votes
5 answers
26k views

Can't load prometheus.yml config file with docker (prom/prometheus)

I am trying to load prometheus with docker using the following custom conf file: danilo@machine:/prometheus-data/prometheus.yml: global: scrape_interval: 15s # By default, scrape targets every ...
Danilo Caetano's user avatar
12 votes
2 answers
16k views

Alert when docker container pod is in Error or CarshLoopBackOff kubernetes

I have my kubernetes cluster setup on AWS where I am trying to monitor several pods, using cAdvisor + Prometheus + Alert manager. What I want to do it launch an email alert (with service/container ...
shiv455's user avatar
  • 7,684
11 votes
7 answers
16k views

How to snooze prometheus alert for specific time

I have faced some issues with Prometheus memory alert. If I take the backup of Gitlab then memory usage going up to 95%. I want to snooze memory alert for a specific time. e.g. If I am taking a ...
Abhijit's user avatar
  • 111
10 votes
4 answers
22k views

Prometheus Absent function

I want to check if a certain metric is not available in prometheus for 5 minute. I am using absent(K_KA_GCPP) and giving a 5 minute threshold. But it seems I cannot group the absent function on ...
Arnav Bose's user avatar
9 votes
2 answers
35k views

Prometheus query to average over time by a specific label

I need to query a metric and find out the average value of the metric over a period of 24hrs. But using using avg_over_time directly on the metric won't work. There is a specific ipaddr label. The ...
Arnav Bose's user avatar
9 votes
2 answers
32k views

How to get all metric names from Prometheus server filtered by a particular label

We want to get all metric names from Prometheus server filtered by a particular label. Step 1 : Used following query to get all metric names, query succeeded with all metric names. curl -g 'http://...
user3082802's user avatar

15 30 50 per page
1
2 3 4 5
52