Looking for a way to exclude maintenance windows from synthetic checks

Please paste the permalink to the page in question below:

Please include any NRQL you are using:

SELECT percentage(count(result), WHERE result = ‘SUCCESS’) FROM SyntheticCheck since 12 months ago where monitorName = ‘prod.defisolutions.com’ LIMIT 1000 facet monthOf(timestamp)

and

Please share your question/describe your issue below. Include any screenshots that may help us understand your question:

I am looking for a way to exclude maintenance windows from queries such as the one above. Any suggestions on how this can be done using the Script above?

Hi there @sdonald -

This is something that has been requested for Synthetics in the past. We have an existing feature idea that you can vote on and add your two cents to. We’d love to hear more about what you are trying to achieve as this really helps the engineers.

The good news is that it is in the works. Here’s the feature request with an update from the product manager:

Please let me know if you need anything else.

Best,
Holly

2 Likes

Hi @sdonald - There is a sample in the NRQL library which deals with filtering out specific times

3 Likes