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.

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.

Source code is available here: https://github.com/prometheus/alertmanager

753 questions
0
votes
1 answer

Label propagation from a Prometheus target to an alert

I have some additional labels on Prometheus targets via service discovery and re-labeling, e.g. instance_name, or instance_id. I would like to propagate those labels from a specific target to defined alerts. I read documentation through and through…
Vít Kotačka
  • 1,472
  • 1
  • 15
  • 40
0
votes
1 answer

Prometheus: Reducing repeated rules using regexp

In Prometheus recording rules, I want to record the rate of job failure in each of my Jenkins job. This expression will allow me to do that. Rate of failure for MyJenkinsJob_1. ( sum(jenkins_job_last_build_failed_tests{jobname="MyJenkinsJob_1"}) …
0
votes
1 answer

gaps in time series renders alerting unusable

I am trying get notifed on stoppped containers by the following alert: alert: artifactory_down expr: absent(container_memory_usage_bytes{name="artifactory"}) for: 1m labels: severity: critical annotations: description: Artifactory container is…
Christian Schyma
  • 190
  • 1
  • 2
  • 16
0
votes
1 answer

how to use web_hook for doing POST Rest API to a server from promrtheus alertmanager

I am using the following configuration for alertmanager for sending API post call for prometheus but somehow I am not able to get it, below is my configuration with my flask server running on localhost at port 9000, that accepts a POST API…
0
votes
1 answer

Prometheus Alertmanager Silencing alerts via UI does not prevent first occurence of alert to trigger

Can the ‘Silences’ feature on the Alertmanager UI be used to silence new alerts before they are sent to a receiver? This would be useful while performing an upgrade in an environment. My alerts contain a label 'env' (to identify a given…
JMur
  • 1
  • 4
0
votes
1 answer

Prometheus Alert Manager not sending out alerts

I am working with Prometheus on Kubernetes and trying to send out the alerts to slack. The problem is that the alert is firing but is not getting sent out to slack. I am using Prometheus 1.18.1 with Kubernetes 1.9. For now I am just trying to send…
Preeti V
  • 93
  • 2
  • 9
0
votes
1 answer

Nested Query for Prometheus

I want to query Prometheus, as if my cluster metric exceeds some threshold then I want to check which of my hosts are exceeding a specific threshold, and eventually fire a script based on that for the host.
-1
votes
0 answers

How to configure docker monitoring with Prometheus and cAdvisor?

There are a lot of docker containers (maybe about 20/30 containers) and I want to monitor the docker containers: Which one is up and down? Is the individual container healthy or unhealthy? I use Prometheus and cAdvisor. Additionally there is an…
Christian01
  • 307
  • 1
  • 5
  • 19
-1
votes
1 answer

Apply alert config for prometheus Alertmanager which is runnning on the kubernetes

I have a kubernetes cluster which running on EKS I already installed prometheus and alertmanager from this repository. This is the set of tools, so I think it is useful for a begginner like me. Now I can see prometheus dashboad via localhost:9090…
whitebear
  • 11,200
  • 24
  • 114
  • 237
-1
votes
1 answer

How can prometheus start reporting on path params as well?

Background: We have an application which acts as a gateway. Every URL served by the platform goes through this. URI is /v2/{endPoint}. With endpoint, there are mappings to hit the services URL accordingly. All our applications are spring-boot…
-1
votes
1 answer

How do I test start_server_http is working for Prometheus

I have created this monitoring class that updates some Counter Metrics according to some logic. I have attached the code. Please can someone explain to me why would my registry be empty even after I add the test metric. import logging from…
Shivangi Singh
  • 1,001
  • 2
  • 11
  • 20
-1
votes
1 answer

How to create a Grafana Email Alert notification for a prometheus metric?

I have a Prometheus data source, that has a counter metric for failed requests, I want to send email alert notifications whenever the metric is non-zero? I am using prom-client to generate the metrics
-1
votes
1 answer

Can not send email through alertmanager

docker-compose.yml: Service is up and running. version: '3' services: prometheus: image: prom/prometheus:latest container_name: prometheus ports: - 9090:9090 volumes: - ./prometheus/conf:/etc/prometheus # -…
-1
votes
1 answer

Alertmanager Unique id

I am working with alertmanager. I want to check the details Alertmanager is saving at the backend for each alerts. Does Alertmanager creates an unique key for alerts received? I want to know is there any work around to fetch it?
-2
votes
2 answers

Alertmanager service not starting

I configured Prometheus, node-exporter and alertmanager on VM (ubuntu) following by this video: https://www.youtube.com/watch?v=7gW5pSM6dlU Prometheus and node-exporter works fine, but I cannot start…
Cesarz
  • 217
  • 2
  • 5
  • 11
1 2 3
50
51