Response time alert for Synthetic monitor

How can I create an alert for a synthetic monitor where the response time for warning is percentile 95% and for critical is percentile 99%
Thank you.

HI, @esmeralda.ponce: I don’t think it is possible to set an alert threshold to the result of the percentile function; alert thresholds must either be a fixed value, or a deviation from the baseline.

You can execute an NRQL query to find the 95th and 99th percentiles of your Synthetic monitor:

SELECT percentile(duration, 95) FROM SyntheticCheck WHERE monitorName = 'Your Monitor Name' SINCE 1 day ago

then use those values to set the thresholds of your alert condition. Or you can create a baseline alert condition to create an incident if the current duration deviates too much from the historical performance.