Please check the below screenshot
I have no idea why the C is just 0 and 1. Also even the thresold is defined as less than 1, the ‘firing’ status is shown for a value which is 1.
The query is just taking a count grouped by Country from bigquery
Please check the below screenshot
I have no idea why the C is just 0 and 1. Also even the thresold is defined as less than 1, the ‘firing’ status is shown for a value which is 1.
The query is just taking a count grouped by Country from bigquery
Hi!
Threshold expressions return either 0 (not firing) or a 1 (firing).
In the example above you have a Threshold expression that uses B as an input and checks if the value is below 1.
The only value below 1 is QueueOrganisation=Germany
, which has a value of 0
. That means that QueueOrganisation=Germany < 1
is true, and so the result of the threshold expression is 1
(equivalent to true).
I hope this helps!
Thanks that helps.
I have one more query, I want the string “QueueOrganisation=Germany” in the summary of the alert. Or to be specific Germany in the summary
How can(which variable will have) I extract that in the summary of the alert? So that in the contact point I can send that information as well.
It sounds like you want to use the template {{ index $labels "QueueOrganisation" }}
in your summary?
Hello everyone, I also encountered the same problem, I want to configure the threshold set in the alarm push, how can I get it?
Hello everyone, I also encountered the same problem, I want to configure the threshold set in the alarm push, how can I get it?