Querying to alert on max value reaching >99% two times in 15m - using "where" syntax error
Hello,
I need to alert on the GPU reaching multiple 100% spikes in 15 minutes period. I thought to use "where" but when I try to use it (based on the documentation https://help.sumologic.com/docs/metrics/metrics-operators/where/) I'm getting a syntax error as on the screenshot (it's just an example copied from docs, the values will be different and I will use the max function to get the peak during a time frame):
The metric itself is working ok. Am I doing something wrong or it is a bug :)?
-
Official comment
Hi Krzysztof,
I recommend using Monitors, as this functionality is built in - you can specify the Trigger Type in the UI instead of using query logic to define this:
https://help.sumologic.com/docs/alerts/monitors/create-monitor/#step-4-specify-the-trigger-type
Let me know if this helps!
Thank you,
GrahamComment actions
Please sign in to leave a comment.
Comments
2 comments