Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upIs it possible to only generate alerts in the working hours #1164
Comments
This comment has been minimized.
This comment has been minimized.
|
Presuming you're in UTC, |
This comment has been minimized.
This comment has been minimized.
|
Thanks. Is there also a way to restrict based on the weekday (like monday to friday)? |
This comment has been minimized.
This comment has been minimized.
barkerd427
commented
Oct 16, 2015
|
I've asked previously, and I think this is a matter for the AlertManager.
|
This comment has been minimized.
This comment has been minimized.
|
@brunoqc not currently. You could have an exporter that reported the current day. |
This comment has been minimized.
This comment has been minimized.
|
This question was answered. |
brian-brazil
closed this
Oct 27, 2015
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
bbigras commentedOct 14, 2015
I have the following rule to get alerts if my program didn't do its job at least once in the last 15 minutes.
I would like to be only notified in the working hours (like 9:00AM to 5:00PM).
Limiting alerts depending of the current time may not make sense for online services but in my case, it's for a polling program that only run in the working hour and if a problem happens, it's important enough (in the day) that I get paged.