I am badly stuck in a problem .One main thing is that .. alert manager sends resolve notification on its own but the alert is still active.I want to disable this feature. I want "resolved " alert to be sent only when alert is really resolved.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/6980ded2-9541-4334-b7a5-b62a7fe44058%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/de883b91-8e96-4538-b911-4afdbb083dc6%40googlegroups.com.
Is there any way. I can set no data condition as alerting .
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/9aa379c2-9a95-4f56-a7a0-1c6483e17fb0%40googlegroups.com.
criticalLatencyOfFirstASRes-USEastUSpromthanos-monitoring-thanos-sts-0criticalstgcriticalLatencyOfFirstASRes-USEastUSpromthanos-monitoring-thanos-sts-1criticalstgYou haven't shown real examples of what these metrics look like. I'm guessing you're not talking about metric names, but label values.If you want to filter out metrics which have particular labels or label patterns, then you need to use metric_relabeling - although it's better to fix your exporters not to generate the bad metrics in the first place.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/17f066f8-49d0-484a-800b-2d872cd2dc79%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/14201529-86e8-4ff1-903a-89d93fd2ffad%40googlegroups.com.
LatencyOfFirstASRpt-brEastUSpromthanos-monitoring-thanos-sts-0criticalstg You remove it only from alerts, using alert_relabel_configs. The forum link I posted before has a working example config.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/363c41b7-96f9-4548-85bb-ab56299f7447%40googlegroups.com.
alerting:
alert_relabel_configs:
[ - <relabel_config> ... ]
alertmanagers:
[ - <alertmanager_config> ... ]--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/f88d6534-f673-4589-a535-80c5a0c3e762%40googlegroups.com.
Sorry, I got this wrong initially and corrected it in point (4) in a reply to myself.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/f33ae51e-b5f9-4198-b708-f5e87621c7fb%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/e134cd7e-fa42-4726-9dac-b05b85473eff%40googlegroups.com.
That's the maximum.Prometheus web interface (9090) shows them firing? What about alertmanager web interface (9093)? Otherwise check your routing rules. Maybe run tcpdump to see if it's trying to connect to slack.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/8bf16e28-846e-4a8e-ac3d-bcecba1967e0%40googlegroups.com.
Why not try it in the PromQL expression browser built in to prometheus (in the prometheus web interface at port 9090)
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/0de10032-0ae8-43d5-8ea1-faef17a3e07b%40googlegroups.com.
warningOverall Health down Alertdict
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/bd3c2c7e-36ea-4af2-a8ba-d6e168f2879c%40googlegroups.com.
Actually when there is an alerting situation , I get an alert on slack with the alerting value .But after sometime when alert is resolved , I still get the old value which is below the threshold ( ideally should be in alerting state) but still I get notification as resolved
P.S. If you change your annotation from "Current value is X" to "Most recent triggering value is X", then the resolved message may make more sense.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/c3400b51-6840-4989-996e-301c414bd5ba%40googlegroups.com.
I don't know an easy way. I guess you can do it using custom templates, since they are passed the list of firing and resolved alerts:
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/1032dce7-25e2-43b9-b064-f7a507c56626%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/a43ba829-1460-46a2-adb1-5516fdf726c2%40googlegroups.com.
HeyI have a query like thisif sum by (locale) ( expression1)/sum by (locale) ( expression2) >=0This gives me no data points and hence a broken graph
sum_over_time did not work in this case as it does not take the "by" optionAny way I can re write this ... can I make it avg of sum by locale or something like that ?



--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/5057f221-f67c-48fe-a33a-a6f31e6c0581%40googlegroups.com.