hi Brian,I mean. In on alertname, could I get all the values beside the "and"? Not only the left one.
在 2018年4月10日星期二 UTC+8下午2:47:31,Brian Brazil写道:On 10 April 2018 at 04:39, itang <shoubi...@gmail.com> wrote:Hi,Can prometheus support multiple values in one alert rule?Just like this:------ alert: cpu_load_warningexpr: |node_load5 > 2and instance:cpu_load5_per_core:avg > 1and instance:cpu_usage:quantile > 60----------- alert: cpu_use_warningexpr: |instance:cpu_usage:quantile > 70and instance:cpu_load5_per_core:avg > 1-----Now the rules only get the value top left, I have to define multiple alerting rules?If supports multiple values, I only need define these in one alerting rule, and can get much more info.You need to define at least one alert per alertname you want.--Brian Brazil
--
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-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/923f2201-cd47-45c7-b1ca-897e886cfb27%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/923f2201-cd47-45c7-b1ca-897e886cfb27%40googlegroups.com.
OK, is there a plan to support get other values? Just for display.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/54d38977-cc31-4d75-a2db-3a771c96f2b9%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/54d38977-cc31-4d75-a2db-3a771c96f2b9%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/d6ed1722-03b9-4d17-96c7-315b73f240e2%40googlegroups.com.