Skip to main content

All Questions

1 vote
0 answers
68 views

In Prometheus, is it possible that at same timestamp the defined PromQL is evaluated as true but alert is not firing?

I recently encountered a problem that struggle me several days... I've defined a PromQL in rule yaml in expr, and for is set as 0s (firing immediately). Global evaluation_interval is 1m and query....
Conifers's user avatar
  • 370
1 vote
0 answers
201 views

Prometheus-Alertmanager, Slack messages not fully showing

I have my Prometheus/Alertmanager(0.26.0) in Docker Compose on a VM. My problem is most of the time Alerts are not fully showing Slack. Lets say I get one good alert and then when I run docker-compose ...
Ronald's user avatar
  • 31
0 votes
1 answer
49 views

Limit email count which is getting fired by alertmanager

Can someone provide some suggestions on limiting the email alerting count to send only one email instead of 100 duplicate emails when a particular metric condition is triggered and alert starts to ...
Mahesh's user avatar
  • 39
1 vote
0 answers
421 views

Prometheus alerting on same rule with different labels

please, consider this: lets say I have this rule: - alert: EndpointIsDown expr: probe_success == 0 for: 7m labels: severity: critical annotations: summary: "{{ $labels....
user avatar
0 votes
0 answers
192 views

How to send Prometheus alerts to SCOM

I want to send Prometheus alerts to SCOM. It seems that there are two ways to accomplish it: with Prometheus webhooks or making SCOM API calls. I think that it is not posible to do it by using SCOM ...
Iban's user avatar
  • 1
0 votes
0 answers
466 views

Can we pass rules to Prometheus Alert Manager without using Prometheus rules ? Any alternatives to the Prometheus Rules?

I am trying to find a way to use Prometheus Alert Manager without using Prometheus rules. Can we create Alert Rules in any alternative way without making use of Prometheus and integrate it with Alert ...
Coder's user avatar
  • 11
0 votes
1 answer
2k views

Prometheus query to get number of major GCs per min for a spring boot application

I have a requirement to put a Prometheus alert if number of major GCs per min for a spring boot application exceeds to a certain number. I am trying to write Prometheus query for that. I got to know ...
Sachin Mankotia's user avatar
1 vote
1 answer
475 views

Time Based escalation in alertmanager

Let's say I have an alert related to disk space, which is triggered at the following levels. First at 85%(receiver for this is admin), then at 90%(receiver for this is super-admin) and finally at 95%(...
zimba's user avatar
  • 11
0 votes
1 answer
618 views

How do the $labels.instance get resolved in Prometheus Alets rules?

Here is a sample "rules.yml" file used to monitor a node (Substrate node on Ubuntu 22.04) using Prometheus: groups: - name: alert_rules rules: - alert: InstanceDown expr: ...
user15492347's user avatar
1 vote
0 answers
924 views

"info inhibitor" alerts - kube-prometheus-stack

I have alertmanagerconfig with below configuration and now I need to point info alerts to a null receiver, can I have multiple receiver and receivers? metadata: name: Prometheus-alertmanager-config ...
kachwa's user avatar
  • 47
1 vote
1 answer
2k views

Prometheus query to get Pods in "Error|Completed" state

I am trying to get list of Pods that got into "Error" or "Completed" state (from ns1 and ns2 namespaces) in the last 5 minutes. I tried using following query but no luck: ...
Haris Farooqui's user avatar
1 vote
1 answer
609 views

Prometheus HTTPS scheme "INVALID" is not valid start token

Trying to build an endpoint monitoring solution for a few public endpoints using Prometheus but I am stuck with the below error. I am using Windows OS (Not sure if it's useful). Below is my prometheus....
Pratik's user avatar
  • 1,502
0 votes
1 answer
2k views

set alertmanager to distribute alerts to different channel by job name

I want to send my alert to two different distribution lists in Alertmanager for Prometheus. The only way to distinguish my alerts is by their job name. my alert names are like below: sample1: Labels ...
Amir's user avatar
  • 1,959
0 votes
0 answers
806 views

SMTP Unencrypted connection in alertmanger

I'm facing an issue after configuring email in alertmanager as of the below log level=warn ts=2022-04-12T16:35:29.370Z caller=notify.go:724 component=dispatcher receiver=email integration=email[0] msg=...
infantus's user avatar
1 vote
0 answers
517 views

Sending a common 'text' with all Prometheus alert emails

I have installed one monitoring setup in Kubernetes. I have used Promethuese, and for alerting I have configured alert manager. Everything is working fine. I have one requirement to send a common text,...
Manoj J's user avatar
  • 21

15 30 50 per page