Metrics Alerts notifications - can you limit what time of day alerts sent ( business hours only )?

494 views
Skip to first unread message

Mike Sparr

unread,
Apr 5, 2019, 4:22:50 PM4/5/19
to Google Stackdriver Discussion Forum
Is it possible to add constraints to alerts policies so they only apply during a certain time of day (i.e. business hours)?

I have a project that processes inbound contacts from a 3rd-party Hubspot (CRM) via webhooks. Team members follow up with these contacts working a queue during business hours (8am - 5pm) as quickly as possible. The other day we discovered an issue with the CRM and a workflow was deleted, so contacts were not delivered for a couple hours before a team member flagged it and we restored the connection. 

To minimize the potential delay before alerting, we decided to add a Stackdriver log metric, and alert policy, whenever the SUM of contacts within 10 minutes window was below an acceptable threshold. The contacts primarily come in via Google Ads campaigns driving traffic to the inbound landing pages (Hubspot) during business hours, and then volume reduced after hours. It is expected that after business hours the rate will decrease, so we don't want alerts for these false negative scenarios.

Reviewing the app and docs, I cannot find any way to add another condition like IF hour AFTER 8AM; IF hour BEFORE 6PM so just curious how one would limit the notifications to business hours.

Thanks,

Mike

Rory Petty

unread,
Apr 5, 2019, 4:29:05 PM4/5/19
to Mike Sparr, Google Stackdriver Discussion Forum
Hi Mike,

SD alert policies don't current have the ability to set schedules, but feel free to submit a feature request here:


Thanks,
Rory

--
© 2016 Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043
 
Email preferences: You received this email because you signed up for the Google Stackdriver Discussion Google Group (google-stackdr...@googlegroups.com) to participate in discussions with other members of the GoogleStackdriver community.
---
You received this message because you are subscribed to the Google Groups "Google Stackdriver Discussion Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-stackdriver-d...@googlegroups.com.
To post to this group, send email to google-stackdr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-stackdriver-discussion/8a413777-74be-4e3c-acbf-c62f1f995521%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages