In my project, I add messages only between 4 am and 7 pm pacific time to my AWS SQS. After 7 pm pacific time and until 4 am next day, I do not add any messages to my AWS SQS.
So I would like to monitor the AWS SQS between 4 am and 7 pm pacific time only otherwise one of my monitoring condition triggers alarm for valid no message period (after 7 pm).
My monitoring conditions are: (1) If there are no messages added to queue between 4 am and 7 pm pacific time for more than 10 minutes, raise an alarm. (2) If there are no messages removed from the queue for more than 10 minutes between 4 am and 7 pm pacific time, raise an alarm.
Is this feasible? If so, please explain how? I appreciate your time spent on my question.