Ability to check and alert on custom log on stack driver for a log showing once

29 views
Skip to first unread message

jawad nammari

unread,
Dec 28, 2016, 10:48:22 PM12/28/16
to Google App Engine
Hello 
The only option I see available from stack driver is the ability to set a rate of change for a custom log metric with a duration and a threshold. Once the threshold is exceeded for the full duration I get the alert.
However, I simply want to add a policy to check the existence of a specific custom log metric, and to alert if that log shows at any time - even if it shows once -. Is there a way to do this I did not notice?
Thanks in advance.
 

George (Cloud Platform Support)

unread,
Dec 30, 2016, 5:40:30 PM12/30/16
to Google App Engine
Hello Jawad,

Metrics are to be chosen from a drop-down list in Stackdriver. The usual interest is to get notified if the value of the metric crosses a certain chosen threshold. There is also an alert for missing metrics, but not for present metrics. This is very likely due to the fact that a present metric has a value. If you set it to zero (or a very small number, for that matter), then you get notified if a metric is present. 

To further clarify your requirement: what do you mean exactly by a present metric and how do you imagine the most interesting use case for that situation, step by step? 
Reply all
Reply to author
Forward
0 new messages