Stackdriver monitoring - exclude specific time range in metric

688 views Asked by At

I want to create a policy to check whether new data is published or not for X minutes. The issue I'm facing is, that we don't get any data in the night. Therefore it's necessary to exclude a specific time range in the metric otherwise we're getting an alert every night.

Is there any way to exclude a specific time range e.g. 9 PM until 9 AM in the policy/metric?

1

There are 1 answers

1
Lalo P On

Alert Policy management currently does not include scheduling... but I'm thinking that using Cloud Scheduler, you may be able to achieve the results you are looking for, you may give this a try.

I also found that there's a Public Issue Tracker about Enable alerts only on certain hours. It is mentioned that a Feature Request was created, any update on this request will be published in the Public Issue Tracker or you can check the Feature Request directly as well.

You can use any gmail account to access the Public Issue Tracker.